|
|
@ -201,6 +201,13 @@ |
|
|
|
when: unifi_install_mode == 'upgrade' |
|
|
|
when: unifi_install_mode == 'upgrade' |
|
|
|
tags: unifi |
|
|
|
tags: unifi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remove temp files |
|
|
|
|
|
|
|
file: path={{ item }} state=absent |
|
|
|
|
|
|
|
loop: |
|
|
|
|
|
|
|
- "{{ unifi_root_dir }}/tmp/UniFi.unix.zip" |
|
|
|
|
|
|
|
- "{{ unifi_root_dir }}/tmp/UniFi" |
|
|
|
|
|
|
|
tags: unifi |
|
|
|
|
|
|
|
|
|
|
|
- name: Write version installed |
|
|
|
- name: Write version installed |
|
|
|
copy: content={{ unifi_version }} dest={{ unifi_root_dir }}/meta/ansible_version |
|
|
|
copy: content={{ unifi_version }} dest={{ unifi_root_dir }}/meta/ansible_version |
|
|
|
tags: unifi |
|
|
|
tags: unifi |
|
|
|