fix handlers
This commit is contained in:
parent
0926ea78bc
commit
f08492e24f
@ -5,6 +5,7 @@
|
||||
state: restarted
|
||||
enabled: yes
|
||||
listen: __ucs_apache_restart
|
||||
when: ucs_custom_tls_apache2_enabled
|
||||
become: True
|
||||
|
||||
- name: Restart dovecot service
|
||||
@ -13,6 +14,7 @@
|
||||
state: restarted
|
||||
enabled: yes
|
||||
listen: __ucs_dovecot_restart
|
||||
when: ucs_custom_tls_dovecot_enabled
|
||||
become: True
|
||||
|
||||
- name: Restart postfix service
|
||||
@ -21,4 +23,5 @@
|
||||
state: restarted
|
||||
enabled: yes
|
||||
listen: __ucs_postfix_restart
|
||||
when: ucs_custom_tls_postfix_enabled
|
||||
become: True
|
||||
|
@ -19,7 +19,10 @@
|
||||
- { src: "{{ ucs_tls_key_path }}", dest: "{{ ucs_tls_key_dir }}/ucs.pem", mode: '0750' }
|
||||
loop_control:
|
||||
label: "{{ item.dest }}"
|
||||
notify: __ucs_apache_restart
|
||||
notify:
|
||||
- __ucs_apache_restart
|
||||
- __ucs_dov_restart
|
||||
- __ucs_postfix_restart
|
||||
|
||||
- name: Set apache2 ucr vars
|
||||
ucr:
|
||||
|
Loading…
Reference in New Issue
Block a user