From 7093836d6e135238e08c43fc34ec820ae7cb6f87 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 4 Aug 2018 22:34:33 +0200 Subject: [PATCH] add loop control --- tasks/tls.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/tls.yml b/tasks/tls.yml index 256bd31..6e6bb96 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -17,5 +17,7 @@ with_items: - { src: "{{ ucs_tls_key_path }}", dest: "{{ ucs_tls_certs_dir }}/ucs.pem", mode: '0600' } - { src: "{{ ucs_tls_cert_path }}", dest: "{{ ucs_tls_key_dir }}/unifi.pem }}", mode: '0750' } + loop_control: + label: "{{ item.dest }}" become: True become_user: root