Add example 'Specify grants composed of more than one word' to the mysql_user module.

This commit is contained in:
Mathieu Martin 2014-05-20 14:41:18 -04:00
parent 792298f114
commit 9589ee2a41

View file

@ -120,6 +120,9 @@ EXAMPLES = """
# Ensure no user named 'sally' exists, also passing in the auth credentials. # Ensure no user named 'sally' exists, also passing in the auth credentials.
- mysql_user: login_user=root login_password=123456 name=sally state=absent - 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 # Example privileges string format
mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL