From b9dba50372b3fe41a1f231fad44d9cddbcd99795 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 18 May 2015 16:33:46 -0400 Subject: [PATCH] minor doc fix and made sure check_implicit_admin is true boolean --- database/mysql/mysql_user.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 54b63eed4d7..bd289ff30de 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -90,7 +90,8 @@ options: description: - Check if mysql allows login as root/nopassword before trying supplied credentials. required: false - default: false + choices: [ "yes", "no" ] + default: "no" version_added: "1.3" update_password: required: false @@ -385,8 +386,8 @@ def main(): host=dict(default="localhost"), state=dict(default="present", choices=["absent", "present"]), priv=dict(default=None), - append_privs=dict(type="bool", default="no"), - check_implicit_admin=dict(default=False), + append_privs=dict(default=False, type='bool'), + check_implicit_admin=dict(default=False, type='bool'), update_password=dict(default="always", choices=["always", "on_create"]), config_file=dict(default="~/.my.cnf"), )