11 lines
282 B
YAML
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"
|