diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2017-11-23 15:40:30 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2017-11-23 15:40:30 +0100 |
commit | e1fc6a114e23eafc709163d8e6e625c0db211fe5 (patch) | |
tree | 3eff1c9d6cb6385c3de21b3a546502d6e7c33f88 /lib/modules | |
parent | d20aaecc99fb7950e4a4f01608ccfd4c6969e216 (diff) |
Upgrade syntax to Ansible 2.4.
Diffstat (limited to 'lib/modules')
-rw-r--r-- | lib/modules/mysql_user2 | 8 |
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) |