From 9589ee2a41b65dcdc590457a31651287742d083c Mon Sep 17 00:00:00 2001 From: Mathieu Martin Date: Tue, 20 May 2014 14:41:18 -0400 Subject: [PATCH] Add example 'Specify grants composed of more than one word' to the mysql_user module. --- database/mysql_user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/database/mysql_user b/database/mysql_user index b7c84fd1c3e..271cf6ddf50 100644 --- a/database/mysql_user +++ b/database/mysql_user @@ -120,6 +120,9 @@ EXAMPLES = """ # Ensure no user named 'sally' exists, also passing in the auth credentials. - 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 mydb.*:INSERT,UPDATE/anotherdb.*:SELECT/yetanotherdb.*:ALL