ansible-role-postgresql/handlers/main.yml
vincent 1fdff1c48b
Some checks failed
continuous-integration/drone/push Build is failing
feat: add consul service
2023-10-31 20:11:28 +01:00

11 lines
282 B
YAML

---
- name: Restart postgresql
ansible.builtin.service:
name: "{{ postgresql_daemon }}"
state: "{{ postgresql_restarted_state }}"
sleep: 5
- name: Reload consul configuration on Linux
ansible.builtin.command: "consul reload"
listen: "reload consul configuration"