From d595fd00e93c159c38947f079347330e85962313 Mon Sep 17 00:00:00 2001 From: Wayne Rosario Date: Tue, 22 Jul 2014 11:24:09 -0400 Subject: [PATCH] updating doc to include revoke example for mysql_user docs --- library/database/mysql_user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/database/mysql_user b/library/database/mysql_user index 271cf6ddf50..db4b334716c 100644 --- a/library/database/mysql_user +++ b/library/database/mysql_user @@ -123,6 +123,9 @@ EXAMPLES = """ # Specify grants composed of more than one word - 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 mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL