fix missing when condition

This commit is contained in:
Robert Kaussow 2018-08-14 22:28:41 +02:00
parent eeaccf6c21
commit 1e624f5253

View File

@ -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 }}"