mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add example 'Specify grants composed of more than one word' to the mysql_user module.
This commit is contained in:
parent
0ac74aaf59
commit
a8969b5d3c
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ EXAMPLES = """
|
|||
# Ensure no user named 'sally' exists, also passing in the auth credentials.
|
||||
- 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
|
||||
|
||||
# Example privileges string format
|
||||
mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL
|
||||
|
||||
|
|
Loading…
Reference in a new issue