Merge pull request #8244 from wrosario/mysql_user_doc

Update mysql_user doc and example
This commit is contained in:
Michael DeHaan 2014-07-28 12:03:15 -04:00
commit c8d3c0c654

View file

@ -123,6 +123,9 @@ EXAMPLES = """
# 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'
- mysql_user: name=bob password=12345 priv=*.*:USAGE state=present
# Example privileges string format # Example privileges string format
mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL