2021-01-31 17:21:39 -06:00
|
|
|
---
|
2021-02-06 15:33:26 -06:00
|
|
|
# Use flatpaks because they're consistent! :)
|
2021-01-31 17:21:39 -06:00
|
|
|
|
2021-02-06 06:48:59 -06:00
|
|
|
# Flatpak Pre-reqs
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Flatpak | Install
|
2020-12-21 05:23:56 -06:00
|
|
|
package:
|
|
|
|
name: flatpak
|
|
|
|
update_cache: yes
|
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Flatpak | Add Flathub for System
|
2020-12-21 05:23:56 -06:00
|
|
|
flatpak_remote:
|
|
|
|
name: flathub
|
|
|
|
state: present
|
|
|
|
method: system
|
|
|
|
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
|
|
|
2021-02-06 15:33:26 -06:00
|
|
|
|
2021-02-06 06:48:59 -06:00
|
|
|
# Flatpak Installs
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Flatpak | Application Installs
|
2020-12-21 05:23:56 -06:00
|
|
|
flatpak:
|
2021-02-14 07:54:57 -06:00
|
|
|
name: "{{ item }}"
|
2021-02-06 15:33:26 -06:00
|
|
|
remote: flathub
|
|
|
|
state: present
|
2021-02-14 07:54:57 -06:00
|
|
|
loop:
|
|
|
|
- org.mozilla.Thunderbird
|
|
|
|
- com.discordapp.Discord
|
2021-02-14 08:06:21 -06:00
|
|
|
- io.lbry.lbry-app
|
2021-02-14 07:54:57 -06:00
|
|
|
- com.visualstudio.code-oss
|
|
|
|
- com.google.AndroidStudio
|
2021-02-14 08:06:21 -06:00
|
|
|
- org.shotcut.Shotcut
|
|
|
|
- com.obsproject.Studio
|
2021-02-14 07:54:57 -06:00
|
|
|
- com.valvesoftware.Steam
|
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Flatpak | Application Uninstalls
|
2021-02-07 09:14:42 -06:00
|
|
|
flatpak:
|
2021-02-14 07:54:57 -06:00
|
|
|
name: "{{ item }}"
|
2021-02-07 09:14:42 -06:00
|
|
|
remote: flathub
|
2021-02-14 08:07:14 -06:00
|
|
|
state: absent
|
2021-02-14 07:54:57 -06:00
|
|
|
loop:
|
|
|
|
- org.mozilla.firefox
|
2021-02-14 08:19:13 -06:00
|
|
|
- com.visualstudio.code # Why does this throw an error? It's the correct ID.
|
|
|
|
ignore_errors: yes
|
2021-02-14 07:49:47 -06:00
|
|
|
|
2020-12-28 18:37:37 -06:00
|
|
|
|
2021-02-14 08:19:13 -06:00
|
|
|
# Software not yet available or working properly in Flatpak form.
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Add Lutris PPA (Ubuntu)
|
2021-02-11 11:05:23 -06:00
|
|
|
apt_repository:
|
|
|
|
repo: ppa:lutris-team/lutris
|
|
|
|
update_cache: yes
|
|
|
|
state: present
|
2021-02-11 11:09:30 -06:00
|
|
|
when: ansible_distribution == "Ubuntu"
|
2021-02-11 11:05:23 -06:00
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Install Lutris
|
2021-02-07 06:07:02 -06:00
|
|
|
package:
|
|
|
|
name: lutris
|
|
|
|
state: present
|
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Install Firefox ESR
|
2020-12-28 20:21:01 -06:00
|
|
|
package:
|
2021-02-07 06:07:02 -06:00
|
|
|
name: "{{ firefox_esr }}"
|
2021-02-06 15:33:26 -06:00
|
|
|
state: present
|
2021-02-06 11:27:20 -06:00
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Firefox Normal
|
2021-02-06 11:27:20 -06:00
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- "{{ firefox }}"
|
|
|
|
state: absent
|
2021-02-06 15:39:07 -06:00
|
|
|
when: firefox != firefox_esr
|
2021-02-06 06:48:59 -06:00
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Install VLC
|
2021-02-11 15:03:36 -06:00
|
|
|
package:
|
|
|
|
name: vlc
|
|
|
|
state: present
|
|
|
|
|
2021-02-14 08:04:58 -06:00
|
|
|
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Applciations
|
2021-02-06 06:48:59 -06:00
|
|
|
package:
|
|
|
|
name:
|
2020-12-28 20:39:25 -06:00
|
|
|
- "{{ thunderbird }}"
|
2021-01-31 12:58:37 -06:00
|
|
|
- "{{ evolution }}"
|
2021-02-06 15:33:26 -06:00
|
|
|
- steam
|
2021-02-14 07:54:57 -06:00
|
|
|
- vscode
|
|
|
|
- code
|
2020-12-28 20:21:01 -06:00
|
|
|
state: absent
|