add loop control

This commit is contained in:
Robert Kaussow 2018-07-13 00:58:11 +02:00
parent 86598b737b
commit 6030f2a198

View File

@ -7,6 +7,8 @@
with_items:
- { src: "{{ unifi_tls_key_path }}", dest: '/etc/pki/tls/private/unifi.pem', mode: '0600' }
- { src: "{{ unifi_tls_cert_path }}", dest: '/etc/pki/tls/certs/unifi.pem', mode: '0750' }
loop_control:
label: "{{ item.dest }}"
register: __unifi_certs
become: True
become_user: root