fix block
This commit is contained in:
parent
6c2f1b50a7
commit
bc18afa7af
@ -34,8 +34,10 @@
|
||||
when: unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
|
||||
|
||||
- block:
|
||||
|
||||
|
||||
- name: Remove data folder from new version
|
||||
file:
|
||||
path: "{{ unifi_base_dir }}/{{ unifi_current_version }}//UniFi/data"
|
||||
state: absent
|
||||
become: True
|
||||
become_user: "{{ unifi_user }}"
|
||||
when:
|
||||
|
Loading…
Reference in New Issue
Block a user