reload postgres after cert renewal
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6b1a32dbfd
commit
3d24d6ce98
@ -1,10 +1,17 @@
|
||||
---
|
||||
- name: Restart service
|
||||
service:
|
||||
name: "{{ __postgres_daemon }}"
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
listen: __postgres_restart
|
||||
- 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
|
||||
|
@ -24,5 +24,6 @@
|
||||
- { src: "{{ postgres_tls_cert_source }}", dest: '{{ __postgres_tls_cert_path }}', mode: '0750' }
|
||||
loop_control:
|
||||
label: "{{ item.dest }}"
|
||||
notify: __postgres_reload
|
||||
become: True
|
||||
become_user: "{{ postgres_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user