xoxys.postgres/handlers/main.yml
Robert Kaussow 3d24d6ce98
All checks were successful
continuous-integration/drone/push Build is passing
reload postgres after cert renewal
2019-08-06 16:54:09 +02:00

18 lines
376 B
YAML

---
- 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
become: True
become_user: root