diff options
author | Tom Paine <aioue@users.noreply.github.com> | 2018-09-19 20:46:26 +0200 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2018-09-19 20:46:26 +0200 |
commit | 61f2791d956511bd011b0744721ebce6ca015bbf (patch) | |
tree | 4fc2c8dafb55b379087e275095d7a0eca2c46419 | |
parent | Added documentation for collectstatic --clear. (#42007) (diff) | |
download | ansible-61f2791d956511bd011b0744721ebce6ca015bbf.tar.xz ansible-61f2791d956511bd011b0744721ebce6ca015bbf.zip |
Update postgresql_user.py (#45777)
<!--- Your description here -->
Add expires example.
+label: docsite_pr
-rw-r--r-- | lib/ansible/modules/database/postgresql/postgresql_user.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/modules/database/postgresql/postgresql_user.py b/lib/ansible/modules/database/postgresql/postgresql_user.py index 3cf74d6ed9..f79b70d2a9 100644 --- a/lib/ansible/modules/database/postgresql/postgresql_user.py +++ b/lib/ansible/modules/database/postgresql/postgresql_user.py @@ -160,6 +160,7 @@ EXAMPLES = ''' name: django password: ceec4eif7ya priv: "CONNECT/products:ALL" + expires: "Jan 31 2020" # Create rails user, set its password (MD5-hashed) and grant privilege to create other # databases and demote rails from super user status @@ -189,7 +190,7 @@ EXAMPLES = ''' name: django password: mysupersecretword priv: "CONNECT/products:ALL" - expire: infinity + expires: infinity # Example privileges string format # INSERT,UPDATE/table:SELECT/anothertable:ALL |