summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2016-02-11 13:04:00 -0800
committerToshio Kuratomi <toshio@fedoraproject.org>2016-02-11 13:08:52 -0800
commit2ac831b704845dc6821eac5a383806cd17b85016 (patch)
tree9a6c4a18cb6eea3594acc77f6475e76233754205
parent73a48a0496fafa86b536a67300889a0d7ca6d0a0 (diff)
downloadansible-modules-core-2ac831b704845dc6821eac5a383806cd17b85016.tar.gz
password needs to be type str.
In 1.9 this was the default. In 2.0.0 and 2.0.1 this doesn't get set. 2.1.0 will fix the default but we should fix this now.
-rw-r--r--database/mysql/mysql_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py
index b84d0155..96b0ced7 100644
--- a/database/mysql/mysql_user.py
+++ b/database/mysql/mysql_user.py
@@ -407,7 +407,7 @@ def main():
login_port=dict(default=3306, type='int'),
login_unix_socket=dict(default=None),
user=dict(required=True, aliases=['name']),
- password=dict(default=None, no_log=True),
+ password=dict(default=None, no_log=True, type='str'),
encrypted=dict(default=False, type='bool'),
host=dict(default="localhost"),
state=dict(default="present", choices=["absent", "present"]),