summaryrefslogtreecommitdiffstats
path: root/lib/modules
diff options
context:
space:
mode:
Diffstat (limited to 'lib/modules')
-rw-r--r--lib/modules/mysql_user28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/modules/mysql_user2 b/lib/modules/mysql_user2
index 4188e8c..c3cc38f 100644
--- a/lib/modules/mysql_user2
+++ b/lib/modules/mysql_user2
@@ -412,16 +412,16 @@ def main():
module = AnsibleModule(
argument_spec = dict(
login_user=dict(default=None),
- login_password=dict(default=None),
+ login_password=dict(default=None, no_log=True),
login_host=dict(default="localhost"),
- login_port=dict(default="3306"),
+ login_port=dict(default=3306, type='int'),
login_unix_socket=dict(default=None),
user=dict(required=True, aliases=['name']),
- password=dict(default=None),
+ password=dict(default=None, no_log=True, type='str'),
host=dict(default="localhost"),
state=dict(default="present", choices=["absent", "present"]),
priv=dict(default=None),
- append_privs=dict(type="bool", default="no"),
+ append_privs=dict(default=False, type="bool"),
check_implicit_admin=dict(default=False),
auth_plugin=dict(default=None),
soname=dict(default=None)