forked from ISTI-ansible-roles/ansible-roles
17 lines
370 B
YAML
17 lines
370 B
YAML
---
|
|
- name: Restart postgresql
|
|
service: name=postgresql state=restarted
|
|
when: postgresql_enabled
|
|
|
|
- name: Reload postgresql
|
|
service: name=postgresql state=reloaded
|
|
when: postgresql_enabled
|
|
|
|
- name: Reload pgpool2
|
|
service: name=pgpool2 state=reloaded
|
|
when: pgpool_enabled
|
|
|
|
- name: Restart pgpool2
|
|
service: name=pgpool2 state=reloaded
|
|
when: pgpool_enabled
|