Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
3fc75696
Commit
3fc75696
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
correct formatting for ansible postgresql config
Former-commit-id: 9c78c71abecbb794c9dac2abfc0767fb4b94549d
parent
131182cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/deploy.yaml
+1
-4
1 addition, 4 deletions
ansible/deploy.yaml
with
1 addition
and
4 deletions
ansible/deploy.yaml
+
1
−
4
View file @
3fc75696
...
...
@@ -82,15 +82,12 @@
tasks
:
-
name
:
ensure database is created
postgresql_db
:
name={{dbname}}
-
name
:
ensure user has access to database
postgresql_user
:
db={{dbname}} name={{dbuser}} password={{dbpassword}} priv=ALL
-
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
postgresql_privs
:
db={{dbname}} role=PUBLIC type=database priv=ALL state=absent
#
# Stop web server(s)
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment