diff --git a/tasks/install.yml b/tasks/install.yml index b978f5e..e479c44 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -41,8 +41,8 @@ - name: Copy data folder from previews version synchronize: - src: "{{ unifi_base_dir }}/{{ unifi_version }}/UniFi/data" - dest: "{{ unifi_base_dir }}/{{ unifi_current_version }}/UniFi/data" + src: "{{ unifi_base_dir }}/{{ unifi_current_version }}/UniFi/data" + dest: "{{ unifi_base_dir }}/{{ unifi_version }}/UniFi/data" delegate_to: "{{ inventory_hostname }}" become: True become_user: "{{ unifi_user }}"