From 594ecc00c162470ad441903de5ad346e38bf2e0f 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 --- library/database/postgresql_user | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/database/postgresql_user b/library/database/postgresql_user index 9a32022d2e7..f213f06ece6 100644 --- a/library/database/postgresql_user +++ b/library/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