Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
626d41c1
Commit
626d41c1
authored
Nov 02, 2013
by
Steve Tjoa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed parameter from 'user' to 'name' in the examples to coincide with the specs.
parent
57a725fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
library/database/postgresql_user
+4
-4
No files found.
library/database/postgresql_user
View file @
626d41c1
...
...
@@ -108,16 +108,16 @@ author: Lorin Hochstein
EXAMPLES
=
'''
# Create django user and grant access to database and products table
- postgresql_user: db=acme
user
=django password=ceec4eif7ya priv=CONNECT/products:ALL
- postgresql_user: db=acme
name
=django password=ceec4eif7ya priv=CONNECT/products:ALL
# Create rails user, grant privilege to create other databases and demote rails from super user status
- postgresql_user:
user
=rails password=secret role_attr_flags=CREATEDB,NOSUPERUSER
- postgresql_user:
name
=rails password=secret role_attr_flags=CREATEDB,NOSUPERUSER
# Remove test user privileges from acme
- postgresql_user: db=acme
user
=test priv=ALL/products:ALL state=absent fail_on_user=no
- postgresql_user: db=acme
name
=test priv=ALL/products:ALL state=absent fail_on_user=no
# Remove test user from test database and the cluster
- postgresql_user: db=test
user
=test priv=ALL state=absent
- postgresql_user: db=test
name
=test priv=ALL state=absent
# Example privileges string format
INSERT,UPDATE/table:SELECT/anothertable:ALL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment