This commit is contained in:
Robert Kaussow 2018-07-09 01:01:20 +02:00
parent 22b37fb48f
commit 18df9b6ad9
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
- name: Set current version to custom fact
template:
src: etc/ansible/fact.d/unifi.json.j2
dest: /etc/ansible/fact.d/unifi.json
src: etc/ansible/facts.d/unifi.json.j2
dest: /etc/ansible/facts.d/unifi.json
when: unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
become: True