try to fix dict issue

This commit is contained in:
Robert Kaussow 2018-07-13 00:18:12 +02:00
parent 623aac2565
commit 8f8db7d76d

View File

@ -5,8 +5,8 @@
dest: "{{ item.dest }}"
mode: "{{ item.mode }}"
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' }"
- { 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' }
register: __unifi_certs
become: True
become_user: root