try to fix fact default
This commit is contained in:
parent
211f06d239
commit
9209b05208
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Set current unifi version
|
- name: Set current unifi version
|
||||||
set_fact:
|
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:
|
- debug:
|
||||||
msg: Current version is '{{ unifi_current_version }}'
|
msg: Current version is '{{ unifi_current_version }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user