diff --git a/config/ansible/tasks/workstations/megasync.yml b/config/ansible/tasks/workstations/megasync.yml index f319648..1fcee99 100644 --- a/config/ansible/tasks/workstations/megasync.yml +++ b/config/ansible/tasks/workstations/megasync.yml @@ -22,6 +22,20 @@ mode: '0644' when: megasync_check.rc != 0 +- name: Download MegaSync Nautilus DEB Package + ansible.builtin.get_url: + url: https://mega.nz/linux/repo/xUbuntu_24.04/amd64/nautilus-megasync-xUbuntu_24.04_amd64.deb + dest: "{{ temp_download_dir.path }}/megasync-nautilus-extras.deb" + mode: '0644' + when: megasync_check.rc != 0 + +- name: Downlod MegaSync Nemo DEB Package + ansible.builtin.get_url: + url: https://mega.nz/linux/repo/xUbuntu_24.04/amd64/nemo-megasync-xUbuntu_24.04_amd64.deb + dest: "{{ temp_download_dir.path }}/megasync-nemo-extras.deb" + mode: '0644' + when: megasync_check.rc != 0 + - name: Install MegaSync package ansible.builtin.apt: deb: "{{ temp_download_dir.path }}/megasync.deb" @@ -29,6 +43,20 @@ become: true when: megasync_check.rc != 0 +- name: Install MegaSync Nautilus package + ansible.builtin.apt: + deb: "{{ temp_download_dir.path }}/mega-nautilus-extras.deb" + state: present + become: true + when: megasync_check.rc != 0 + +- name: Install MegaSync Nemo package + ansible.builtin.apt: + deb: "{{ temp_download_dir.path }}/mega-nemo-extras.deb" + state: present + become: true + when: megasync_check.rc != 0 + - name: Clean up temporary files ansible.builtin.file: path: "{{ temp_download_dir.path }}"