diff --git a/tasks/apt.yml b/tasks/apt.yml index cf7feedece9e1b44bfb958beeb70bf422400fa10..16cd3fd23c875f50435450c645dc4c27edb173fe 100644 --- a/tasks/apt.yml +++ b/tasks/apt.yml @@ -18,7 +18,7 @@ when: "'mate' in group_names" ansible.builtin.include_vars: "Mate.yml" - - name: Remove snap packages + - name: SNAP  | remove snap packages when: snap_uninstall_pkg is defined community.general.snap: name: "{{ snap_uninstall_pkg }}" @@ -32,6 +32,19 @@ state: present update_cache: true + - name: FLATPAK | add remote + community.general.flatpak_remote: + name: flathub + flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo + state: present + register: flatpak_repo + + - name: FLATPAK | add packages + community.general.flatpak: + name: com.brave.Browser + state: present + remote: flathub + - name: SIGNAL | add key to keyring when: inventory_hostname in groups.station ansible.builtin.apt_key: @@ -59,16 +72,20 @@ ansible.builtin.apt: pkg: "{{ lookup('flattened', base_uninstall_pkg, os_uninstall_pkg) }}" state: absent + register: flatpak_repo - name: APT | upgrade all packages to the latest version ansible.builtin.apt: force_apt_get: yes upgrade: safe - - name: APT | install zoom client + - name: APT | install .deb packages when: inventory_hostname in groups.station - ansible.builtin.apt: - deb: https://zoom.us/client/latest/zoom_amd64.deb + ansible.builtin.apt: deb={{item}} + with_items: + - https://zoom.us/client/latest/zoom_amd64.deb + - https://flavio.tordini.org/files/minitube/minitube.deb + - https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.deb - name: APT | remove useless packages from the cache ansible.builtin.apt: diff --git a/tasks/vars/Debian.yml b/tasks/vars/Debian.yml index 109b270a49cae8193b685e32cbcfebdf1e8828cd..5426291d3c6be7e42d1c9909cbe0764eee41cca8 100644 --- a/tasks/vars/Debian.yml +++ b/tasks/vars/Debian.yml @@ -5,5 +5,4 @@ os_pkg: [] os_uninstall_pkg: [] station_os_pkg: - - chromium-l10n - firefox-esr-l10n-fr diff --git a/tasks/vars/Gnome.yml b/tasks/vars/Gnome.yml index 3717a48cc6c55fc9656de2c76f3d7e586f5bd3c2..e743f22fe5a7eb74b0751a3bb7da7b9b4c8c4302 100644 --- a/tasks/vars/Gnome.yml +++ b/tasks/vars/Gnome.yml @@ -2,4 +2,5 @@ station_wm_pkg: - gnome-tweaks + - nautilus-image-converter - nautilus-nextcloud diff --git a/tasks/vars/Ubuntu.yml b/tasks/vars/Ubuntu.yml index e2d262c921b4d34fb4cab8a5b92473efd66c597f..e3ddb0e30ce93ea87243aafe1ddfbc75e98d75e8 100644 --- a/tasks/vars/Ubuntu.yml +++ b/tasks/vars/Ubuntu.yml @@ -4,11 +4,8 @@ os_pkg: [] os_uninstall_pkg: - thunderbird + - chromium-browser-l10n -snap_uninstall_pkg: - - firefox +snap_uninstall_pkg: [] -station_os_pkg: - - chromium-browser-l10n - - firefox-locale-fr - - firefox +station_os_pkg: [] diff --git a/tasks/vars/main.yml b/tasks/vars/main.yml index e19d8bd6122250473d5116c06ba3abcec882dc23..b046a1cf1c4594fa831923999d25628a4237a6d9 100644 --- a/tasks/vars/main.yml +++ b/tasks/vars/main.yml @@ -18,10 +18,7 @@ base_pkg: - xkcdpass - zsh -base_uninstall_pkg: - - geany-plugin-shiftcolumn - - jq - - httpie +base_uninstall_pkg: [] station_pkg: - ansible @@ -30,6 +27,7 @@ station_pkg: - easytag - evolution - evolution-plugins + - flatpak - geany-plugin-addons - geany-plugin-extrasel - geany-plugin-git-changebar @@ -41,6 +39,7 @@ station_pkg: - gimp - git - gnome-disk-utility + - gnome-software-plugin-flatpak - gpsprune - hplip - jhead @@ -63,3 +62,4 @@ station_pkg: - torbrowser-launcher - unrar-free - vlc + - xz-utils