Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
webservices
Merge requests
!27
Create postgres database for etherpad
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
Create postgres database for etherpad
etherpad-postgres
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Robin Sonnabend
requested to merge
etherpad-postgres
into
master
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
5e3f03c5
Show latest version
1 file
+
21
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
5e3f03c5
Create postgres database for etherpad
· 5e3f03c5
Robin Sonnabend
authored
3 years ago
etherpad/tasks/main.yml
+
21
−
0
Options
@@ -71,6 +71,27 @@
when
:
item.db_type == 'mysql'
no_log
:
true
-
name
:
ensure we have a postgres user for the etherpad
postgresql_user
:
name
:
"
{{item.db_user}}"
password
:
"
{{item.db_password}}"
state
:
present
become
:
true
become_user
:
postgres
with_items
:
"
{{etherpads}}"
when
:
item.db_type == 'postgres'
no_log
:
true
-
name
:
ensure we have a postgres database for the etherpad
postgresql_db
:
name
:
"
{{item.db_name}}"
owner
:
"
{{item.db_user}}"
state
:
present
become
:
true
become_user
:
postgres
with_items
:
"
{{etherpads}}"
when
:
item.db_type == 'postgres'
-
name
:
ensure we have a settings file
template
:
src
:
settings.json.j2
Loading