From ccc06636d756dc72f28e9b0009b0cf64d843163d Mon Sep 17 00:00:00 2001 From: Josh Rendek Date: Sun, 22 Nov 2015 23:09:15 -0500 Subject: [PATCH] Fix quote on grants of more than one word Fixed a quote location on the grants composed of more than one word. Current docs will raise an error with a invalid privilege command. --- database/mysql/mysql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 3ac7c0890cd..462a3b3817f 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -137,7 +137,7 @@ EXAMPLES = """ - mysql_user: login_user=root login_password=123456 name=sally state=absent # Specify grants composed of more than one word -- mysql_user: name=replication password=12345 priv=*.*:"REPLICATION CLIENT" state=present +- mysql_user: name=replication password=12345 priv="*.*:REPLICATION CLIENT" state=present # Revoke all privileges for user 'bob' and password '12345' - mysql_user: name=bob password=12345 priv=*.*:USAGE state=present