mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
updating doc to include revoke example for mysql_user docs
This commit is contained in:
parent
e143d7dab7
commit
d595fd00e9
1 changed files with 3 additions and 0 deletions
|
@ -123,6 +123,9 @@ EXAMPLES = """
|
|||
# Specify grants composed of more than one word
|
||||
- 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
|
||||
|
||||
# Example privileges string format
|
||||
mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL
|
||||
|
||||
|
|
Loading…
Reference in a new issue