set owner, group and mode for local fact

This commit is contained in:
Robert Kaussow 2019-02-03 23:22:03 +01:00
parent 5d6fdd8bc5
commit de2d562fae

View File

@ -109,6 +109,9 @@
template:
src: etc/ansible/facts.d/unifi.fact.j2
dest: /etc/ansible/facts.d/unifi.fact
mode: 0644
owner: root
group: root
when: unifi_version is version(unifi_current_version, ">") or unifi_current_version is version('0.0.0', "=")
become: True
become_user: root