add loopcontrol
This commit is contained in:
parent
890a48f447
commit
0926ea78bc
@ -28,6 +28,8 @@
|
||||
with_items:
|
||||
- { path: apache2/ssl/certificate, value: "{{ ucs_tls_certs_dir }}/ucs.pem" }
|
||||
- { path: apache2/ssl/key, value: "{{ ucs_tls_key_dir }}/ucs.pem" }
|
||||
loop_control:
|
||||
label: "variable: {{ item.path }}={{ item.value }}"
|
||||
notify: __ucs_apache_restart
|
||||
when: ucs_custom_tls_apache2_enabled
|
||||
|
||||
@ -38,6 +40,8 @@
|
||||
with_items:
|
||||
- { path: mail/dovecot/ssl/certificate, value: "{{ ucs_tls_certs_dir }}/ucs.pem" }
|
||||
- { path: mail/dovecot/ssl/key, value: "{{ ucs_tls_key_dir }}/ucs.pem" }
|
||||
loop_control:
|
||||
label: "variable: {{ item.path }}={{ item.value }}"
|
||||
notify: __ucs_dovecot_restart
|
||||
when: ucs_custom_tls_dovecot_enabled
|
||||
|
||||
@ -48,6 +52,8 @@
|
||||
with_items:
|
||||
- { path: mail/postfix/ssl/certificate, value: "{{ ucs_tls_certs_dir }}/ucs.pem" }
|
||||
- { path: mail/postfix/ssl/key, value: "{{ ucs_tls_key_dir }}/ucs.pem" }
|
||||
loop_control:
|
||||
label: "variable: {{ item.path }}={{ item.value }}"
|
||||
notify: __ucs_postfix_restart
|
||||
when: ucs_custom_tls_postfix_enabled
|
||||
become: True
|
||||
|
Loading…
Reference in New Issue
Block a user