From 0d9a6b63ea77f8c758947acf520a2c33e08fd905 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sat, 26 Oct 2013 11:37:45 -0400 Subject: [PATCH] updated docs Signed-off-by: Brian Coca --- database/postgresql_user | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/database/postgresql_user b/database/postgresql_user index 9a32022d2e7..f213f06ece6 100644 --- a/database/postgresql_user +++ b/database/postgresql_user @@ -95,11 +95,13 @@ options: - denotes if the password is already encrypted. boolean. required: false default: false + version_added: '1.4' expires: description: - sets the user's password expiration. required: false default: null + version_added: '1.4' notes: - The default authentication assumes that you are either logging in as or sudo'ing to the postgres account on the host. @@ -131,6 +133,9 @@ EXAMPLES = ''' # Example privileges string format INSERT,UPDATE/table:SELECT/anothertable:ALL + +# Remove an existing user's password +- postgresql_user: db=test user=test password=NULL ''' import re