From ab8d5c5924a5246a5ee831c284628840483ea885 Mon Sep 17 00:00:00 2001 From: David Busby Date: Tue, 14 Jan 2014 12:00:25 +0000 Subject: [PATCH] Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous --- database/mysql_user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/database/mysql_user b/database/mysql_user index 1eeb81f112c..e7fad3d77c6 100644 --- a/database/mysql_user +++ b/database/mysql_user @@ -114,6 +114,9 @@ EXAMPLES = """ # Create database user with name 'bob' and password '12345' with all database privileges - 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. - mysql_user: login_user=root login_password=123456 name=sally state=absent