env-ansible/tasks/flatpaks.yml

40 lines
795 B
YAML
Raw Normal View History

---
# Pre-reqs
- name: Install Flatpak
2020-12-21 05:23:56 -06:00
package:
name: flatpak
update_cache: yes
- name: Add Flathub for System
flatpak_remote:
name: flathub
state: present
method: system
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
# Hop into installs
2020-12-21 05:23:56 -06:00
- name: Install Discord
flatpak:
name: com.discordapp.Discord
- name: Install Shotcut
flatpak:
name: org.shotcut.Shotcut
2020-12-28 18:37:37 -06:00
- name: Install Firefox
flatpak:
name: org.mozilla.firefox
- name: Install Thunderbird
flatpak:
name: org.mozilla.Thunderbird
# Remove any applicable repo software
- name: Remove packages that may come with an OS but were just installed as Flatpak
package:
name:
- "{{ firefox }}"
- "{{ thunderbird }}"
2021-01-31 12:58:37 -06:00
- "{{ evolution }}"
state: absent