mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
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.
This commit is contained in:
@@ -128,7 +128,7 @@ EXAMPLES = """
|
|||||||
- mysql_user: name=sally host_all=yes state=absent
|
- mysql_user: name=sally host_all=yes state=absent
|
||||||
|
|
||||||
# Specify grants composed of more than one word
|
# 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'
|
# Revoke all privileges for user 'bob' and password '12345'
|
||||||
- mysql_user: name=bob password=12345 priv=*.*:USAGE state=present
|
- mysql_user: name=bob password=12345 priv=*.*:USAGE state=present
|
||||||
|
|||||||
Reference in New Issue
Block a user