82 lines
2.0 KiB
YAML
Raw Normal View History

---
2021-02-06 15:33:26 -06:00
# Use flatpaks because they're consistent! :)
# 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
# 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:
name: "{{ item }}"
2021-02-06 15:33:26 -06:00
remote: flathub
state: present
loop:
- org.mozilla.Thunderbird
- com.discordapp.Discord
2021-02-14 08:06:21 -06:00
- io.lbry.lbry-app
- com.visualstudio.code-oss
- com.google.AndroidStudio
2021-02-14 08:06:21 -06:00
- org.shotcut.Shotcut
- com.obsproject.Studio
- 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:
name: "{{ item }}"
2021-02-07 09:14:42 -06:00
remote: flathub
2021-02-14 08:07:14 -06:00
state: absent
loop:
- org.mozilla.firefox
- com.visualstudio.code
2021-02-14 07:49:47 -06:00
2020-12-28 18:37:37 -06:00
2021-02-07 06:08:26 -06:00
# Software not yet available 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
package:
name: lutris
state: present
2021-02-14 08:04:58 -06:00
- name: Workstation | Linux | Flatpak Distro | Package Manager | Install Firefox ESR
package:
name: "{{ firefox_esr }}"
2021-02-06 15:33:26 -06:00
state: present
2021-02-14 08:04:58 -06:00
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Firefox Normal
package:
name:
- "{{ firefox }}"
state: absent
2021-02-06 15:39:07 -06:00
when: firefox != firefox_esr
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
package:
name:
- "{{ thunderbird }}"
2021-01-31 12:58:37 -06:00
- "{{ evolution }}"
2021-02-06 15:33:26 -06:00
- steam
- vscode
- code
state: absent