2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Restart postgresql
|
|
|
|
service: name=postgresql state=restarted
|
2016-03-01 18:01:41 +01:00
|
|
|
when: postgresql_enabled
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Reload postgresql
|
|
|
|
service: name=postgresql state=reloaded
|
2016-03-01 18:01:41 +01:00
|
|
|
when: postgresql_enabled
|
2016-03-08 14:40:38 +01:00
|
|
|
|
|
|
|
- name: Reload pgpool2
|
|
|
|
service: name=pgpool2 state=reloaded
|
|
|
|
when: pgpool_enabled
|
2016-06-01 15:29:40 +02:00
|
|
|
ignore_errors: True
|
2016-03-08 14:40:38 +01:00
|
|
|
|
|
|
|
- name: Restart pgpool2
|
2016-06-07 18:26:14 +02:00
|
|
|
service: name=pgpool2 state=restarted
|
2016-03-08 14:40:38 +01:00
|
|
|
when: pgpool_enabled
|
2016-06-07 18:26:14 +02:00
|
|
|
|
|
|
|
- name: Restart postgresql with pgpool config
|
|
|
|
service: name=postgresql state=restarted
|
|
|
|
when:
|
|
|
|
- postgresql_enabled
|
|
|
|
- psql_restart_after_wal_enabling
|