2018-10-15 22:07:17 +00:00
|
|
|
---
|
2019-08-06 14:54:09 +00:00
|
|
|
- block:
|
|
|
|
- name: Restart service
|
|
|
|
service:
|
|
|
|
name: "{{ __postgres_daemon }}"
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
daemon_reload: yes
|
|
|
|
listen: __postgres_restart
|
|
|
|
|
|
|
|
- name: Reload service
|
|
|
|
service:
|
|
|
|
name: "{{ __postgres_daemon }}"
|
|
|
|
state: reloaded
|
|
|
|
listen: __postgres_reload
|
2018-10-15 22:07:17 +00:00
|
|
|
become: True
|
|
|
|
become_user: root
|