ansible-roles/postgresql/handlers/main.yml

9 lines
197 B
YAML

---
- name: Restart postgresql
service: name=postgresql state=restarted
when: postgresql_enabled
- name: Reload postgresql
service: name=postgresql state=reloaded
when: postgresql_enabled