disable data restore
This commit is contained in:
parent
bc18afa7af
commit
f6029fa382
@ -33,16 +33,16 @@
|
|||||||
become_user: "{{ unifi_user }}"
|
become_user: "{{ unifi_user }}"
|
||||||
when: unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
|
when: unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
|
||||||
|
|
||||||
- block:
|
# - block:
|
||||||
- name: Remove data folder from new version
|
# - name: Remove data folder from new version
|
||||||
file:
|
# file:
|
||||||
path: "{{ unifi_base_dir }}/{{ unifi_current_version }}//UniFi/data"
|
# path: "{{ unifi_base_dir }}/{{ unifi_current_version }}//UniFi/data"
|
||||||
state: absent
|
# state: absent
|
||||||
become: True
|
# become: True
|
||||||
become_user: "{{ unifi_user }}"
|
# become_user: "{{ unifi_user }}"
|
||||||
when:
|
# when:
|
||||||
- unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
|
# - unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=")
|
||||||
- unifi_restore_after_upgrade
|
# - unifi_restore_after_upgrade
|
||||||
|
|
||||||
- name: Create symlink for latest version
|
- name: Create symlink for latest version
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user