fix missing when condition
This commit is contained in:
parent
eeaccf6c21
commit
1e624f5253
@ -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 }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user