mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous
This commit is contained in:
parent
c039e276a2
commit
b4f86abafd
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ EXAMPLES = """
|
||||||
# Create database user with name 'bob' and password '12345' with all database privileges
|
# Create database user with name 'bob' and password '12345' with all database privileges
|
||||||
- mysql_user: name=bob password=12345 priv=*.*:ALL state=present
|
- mysql_user: name=bob password=12345 priv=*.*:ALL state=present
|
||||||
|
|
||||||
|
# Creates database user 'bob' and password '12345' with all database privileges and 'WITH GRANT OPTION'
|
||||||
|
- mysql_user: name=bob password=12345 priv=*.*:ALL,GRANT state=present
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue