Commit f9a65f42 by Michael DeHaan

Merge pull request #221 from lorin/postgres-priv

Fix priv argument in postgresql_user example.
parents 4c5d98c7 20c6e530
...@@ -57,9 +57,9 @@ Example privileges string format: ...@@ -57,9 +57,9 @@ Example privileges string format:
Example action from Ansible :doc:`playbooks`:: Example action from Ansible :doc:`playbooks`::
- name: Create django user and grant access to database and products table - name: Create django user and grant access to database and products table
postgresql_user db=acme user=django password=ceec4eif7ya privs=CONNECT/products:ALL postgresql_user db=acme user=django password=ceec4eif7ya priv=CONNECT/products:ALL
- name: Remove test user privileges from acme - name: Remove test user privileges from acme
postgresql_user db=acme user=test privs=ALL/products:ALL state=absent fail_on_user=no postgresql_user db=acme user=test priv=ALL/products:ALL state=absent fail_on_user=no
- name: Remove test user from test database and the cluster - name: Remove test user from test database and the cluster
postgresql_user db=test user=test privs=ALL state=absent postgresql_user db=test user=test priv=ALL state=absent
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment