From 0926ea78bca5e88ee794b88d7936bbae1ca83051 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 4 Aug 2018 23:39:34 +0200 Subject: [PATCH] add loopcontrol --- tasks/tls.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/tls.yml b/tasks/tls.yml index 444ca3c..e66f257 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -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