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:32 -0800
commit8d126bd877444c9557b1671521516447cc557d3f (patch)
tree9af813610a6a5c2230a1659b8e2d82e6e44e033f
parent0d1bf50ca1c4af26eb8e515a68ce140361dffe51 (diff)
downloadansible-modules-core-8d126bd877444c9557b1671521516447cc557d3f.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 755ed5bc..df6b3585 100644
--- a/database/mysql/mysql_user.py
+++ b/database/mysql/mysql_user.py
@@ -469,7 +469,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"),
host_all=dict(type="bool", default="no"),