fix verisioning

This commit is contained in:
Robert Kaussow 2018-07-12 01:42:06 +02:00
parent fa5b71e02a
commit 2a0e0b6c76

View File

@ -91,5 +91,5 @@
template:
src: etc/ansible/facts.d/unifi.fact.j2
dest: /etc/ansible/facts.d/unifi.fact
when: unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
when: unifi_version is version(unifi_current_version, ">") or unifi_current_version is version('0.0.0', "=")
become: True