Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Mohamed Alibi
ansible-examples
Commits
1aee9266
Commit
1aee9266
authored
Aug 09, 2016
by
James Cammarata
Committed by
GitHub
Aug 09, 2016
Browse files
Merge pull request #148 from Habbie/patch-1
revoke PUBLIC access from database
parents
86404977
eada63c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
language_features/postgresql.yml
language_features/postgresql.yml
+4
-0
No files found.
language_features/postgresql.yml
View file @
1aee9266
...
...
@@ -39,3 +39,7 @@
-
name
:
ensure user does not have unnecessary privilege
postgresql_user
:
name={{dbuser}} role_attr_flags=NOSUPERUSER,NOCREATEDB
-
name
:
ensure no other user can access the database
postgresql_privs
:
db={{dbname}} role=PUBLIC type=database priv=ALL state=absent
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