From 1e624f5253294f659eed15e67591b88b78e70d0a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 14 Aug 2018 22:28:41 +0200 Subject: [PATCH] fix missing when condition --- tasks/tls.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/tls.yml b/tasks/tls.yml index 23c0ba7..88057dc 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -26,6 +26,7 @@ loop_control: label: "{{ item.dest }}" register: __unifi_certs + when: unifi_tls_source_use_files - name: Copy certs and private key (content) copy: @@ -38,6 +39,7 @@ loop_control: label: "{{ item.dest }}" register: __unifi_certs + when: unifi_tls_source_use_content become: True become_user: "{{ unifi_user }}"