diff --git a/tasks/install.yml b/tasks/install.yml index 3e595a8..a4e8c07 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,7 +1,7 @@ --- - name: Set current unifi version set_fact: - unifi_current_version: "{{ ansible_local.unifi | default (dict(version='0.0.0'))['version'] }}" + unifi_current_version: "{{ (ansible_local.unifi | default (dict(version='0.0.0')))['version'] }}" - debug: msg: Current version is '{{ unifi_current_version }}'