add loop control

This commit is contained in:
Robert Kaussow 2018-08-04 22:34:33 +02:00
parent f1ad1196a1
commit 7093836d6e

View File

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