Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Nounous
Ansible
Commits
91903136
Verified
Commit
91903136
authored
3 years ago
by
shirenn
🌊
Committed by
ynerant
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[postgresql] dont restart postgres, only reload it
parent
57b72e53
No related branches found
Branches containing commit
No related tags found
1 merge request
!254
Cachan
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
host_vars/gulp.cachan-adm.crans.org.yml
+1
-0
1 addition, 0 deletions
host_vars/gulp.cachan-adm.crans.org.yml
roles/postgresql/handlers/main.yml
+2
-5
2 additions, 5 deletions
roles/postgresql/handlers/main.yml
roles/postgresql/tasks/main.yml
+2
-2
2 additions, 2 deletions
roles/postgresql/tasks/main.yml
with
5 additions
and
7 deletions
host_vars/gulp.cachan-adm.crans.org.yml
+
1
−
0
View file @
91903136
...
...
@@ -13,6 +13,7 @@ debian_mirror: http://172.17.10.202/debian
loc_psql
:
subnets
:
-
172.17.10.0/24
-
fd00:0:0:3010::/64
version
:
11
hosts
:
-
{
db
:
re2o
,
user
:
re2o
}
...
...
This diff is collapsed.
Click to expand it.
roles/postgresql/handlers/main.yml
+
2
−
5
View file @
91903136
---
-
name
:
restart postgresql
systemd
:
name
:
postgresql@{{ psql.version }}-main
state
:
restarted
enabled
:
true
-
name
:
reload postgresql
command
:
/usr/bin/pg_ctlcluster {{ psql.version }} main reload
This diff is collapsed.
Click to expand it.
roles/postgresql/tasks/main.yml
+
2
−
2
View file @
91903136
...
...
@@ -36,7 +36,7 @@
owner
:
postgres
group
:
postgres
notify
:
-
re
start
postgresql
-
re
load
postgresql
-
name
:
Master of configuration of postgresql {{ psql.version }}
template
:
...
...
@@ -49,5 +49,5 @@
-
pg_hba.conf
-
pg_ident.conf
notify
:
-
re
start
postgresql
-
re
load
postgresql
when
:
'
not(psql.replica
|
default(False))'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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