add loop control
This commit is contained in:
parent
f1ad1196a1
commit
7093836d6e
@ -17,5 +17,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- { src: "{{ ucs_tls_key_path }}", dest: "{{ ucs_tls_certs_dir }}/ucs.pem", mode: '0600' }
|
- { 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' }
|
- { src: "{{ ucs_tls_cert_path }}", dest: "{{ ucs_tls_key_dir }}/unifi.pem }}", mode: '0750' }
|
||||||
|
loop_control:
|
||||||
|
label: "{{ item.dest }}"
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user