2020-09-06 18:50:02 +00:00
|
|
|
---
|
2023-10-31 19:11:28 +00:00
|
|
|
- name: Restart postgresql
|
|
|
|
ansible.builtin.service:
|
2020-09-06 18:50:02 +00:00
|
|
|
name: "{{ postgresql_daemon }}"
|
|
|
|
state: "{{ postgresql_restarted_state }}"
|
|
|
|
sleep: 5
|
2023-10-31 19:11:28 +00:00
|
|
|
|
|
|
|
- name: Reload consul configuration on Linux
|
|
|
|
ansible.builtin.command: "consul reload"
|
|
|
|
listen: "reload consul configuration"
|