From 1aa25a743afc68474555488ee6ee1a556ac6466f Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Thu, 6 Mar 2025 14:39:48 +0100 Subject: [PATCH] feat: add MegaSync Nautilus and Nemo package installation to Ansible playbook --- .../ansible/tasks/workstations/megasync.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) 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 }}"