diff --git a/tasks/install.yml b/tasks/install.yml index e0466d9..396ec04 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -33,16 +33,16 @@ become_user: "{{ unifi_user }}" 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: - - unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=") - - unifi_restore_after_upgrade +# - 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: +# - unifi_current_version is version_compare(unifi_version, ">") or unifi_current_version is version_compare('0.0.0', "=") +# - unifi_restore_after_upgrade - name: Create symlink for latest version file: