185 lines
4.6 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 ##
# Generic #
- name: Workstation | Linux | Flatpak Distro | Flatpak | Generic 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
- org.gnome.Geary
- org.libreoffice.LibreOffice
- com.discordapp.Discord
2021-07-09 19:06:53 -05:00
- org.telegram.desktop
2021-02-14 08:06:21 -06:00
- io.lbry.lbry-app
ignore_errors: yes
# Coding #
- name: Workstation | Linux | Flatpak Distro | Flatpak | Coding Installs
flatpak:
name: "{{ item }}"
remote: flathub
state: present
loop:
- com.vscodium.codium
- com.google.AndroidStudio
- com.jetbrains.PyCharm-Community
ignore_errors: yes
when: coding is defined
- name: Workstation | Linux | Flatpak Distro | Flatpak | Coding Uninstalls
flatpak:
name: "{{ item }}"
remote: flathub
state: absent
loop:
- com.vscodium.codium
- com.google.AndroidStudio
- com.jetbrains.PyCharm-Community
ignore_errors: yes
when: coding is not defined
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * Newlines, comments, and HUGO path. (#2) (#3) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol. * FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10. * Fix root group to be existing variable. FreeBSD uses wheel. * Allow choosing Github branch dynamically. * `branch` needs to be at General level. Testing if this works... * Change other `localhost` to `everything`. * Update FreeBSD status. * Goodbye, Code-OSS on Linux! * Delete a terrible file. * Remove excess tag. * "Fix" SSHFS for FreeBSD. * Variablize FreeBSD's loading of fusefs. * Variablize /etc/rc.conf. Enable FuseFS more properly. * Add beginning ticks. * Add missing playbook. * Enable FreeBSD mount job. * Rearrange items to be more consistent with comment. * It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram. * Python is to 3.8 now. * Expand on FreeBSD work. * Expand on FreeBSD work. * Add placeholders for Gitlab. * Add parameter for Gitlab install. * Add Gitlab playbook. * Ensure FreeBSD uses the correct Python install. * Add newline. * Fix NFS for FreeBSD workstations. * Remove unnecessary line, restricted install to Linux in playbook. * Fix mount options for FreeBSD. * Fix mount number, as well as system-specific facts. * Add placeholders for remote viewing. * Add RDP for FreeBSD. * Omg! It works! Add setting enforcement. * Always remove OSS. * Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
# Media Editors #
- name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editor Installs
flatpak:
name: "{{ item }}"
remote: flathub
state: present
loop:
2021-02-14 08:06:21 -06:00
- org.shotcut.Shotcut
- com.obsproject.Studio
2021-03-21 08:41:52 -05:00
- org.gimp.GIMP
- org.audacityteam.Audacity
ignore_errors: yes
when: editing is defined
2021-07-09 19:06:53 -05:00
- name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editor Uninstalls
flatpak:
name: "{{ item }}"
remote: flathub
state: absent
loop:
- org.shotcut.Shotcut
- com.obsproject.Studio
- org.gimp.GIMP
- org.audacityteam.Audacity
ignore_errors: yes
when: editing is not defined
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * Newlines, comments, and HUGO path. (#2) (#3) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol. * FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10. * Fix root group to be existing variable. FreeBSD uses wheel. * Allow choosing Github branch dynamically. * `branch` needs to be at General level. Testing if this works... * Change other `localhost` to `everything`. * Update FreeBSD status. * Goodbye, Code-OSS on Linux! * Delete a terrible file. * Remove excess tag. * "Fix" SSHFS for FreeBSD. * Variablize FreeBSD's loading of fusefs. * Variablize /etc/rc.conf. Enable FuseFS more properly. * Add beginning ticks. * Add missing playbook. * Enable FreeBSD mount job. * Rearrange items to be more consistent with comment. * It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram. * Python is to 3.8 now. * Expand on FreeBSD work. * Expand on FreeBSD work. * Add placeholders for Gitlab. * Add parameter for Gitlab install. * Add Gitlab playbook. * Ensure FreeBSD uses the correct Python install. * Add newline. * Fix NFS for FreeBSD workstations. * Remove unnecessary line, restricted install to Linux in playbook. * Fix mount options for FreeBSD. * Fix mount number, as well as system-specific facts. * Add placeholders for remote viewing. * Add RDP for FreeBSD. * Omg! It works! Add setting enforcement. * Always remove OSS. * Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
# Gaming #
- name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming Installs
flatpak:
name: "{{ item }}"
remote: flathub
state: present
loop:
- com.valvesoftware.Steam
ignore_errors: yes
when: gaming is defined
- name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming Uninstalls
flatpak:
name: "{{ item }}"
remote: flathub
state: absent
loop:
- com.valvesoftware.Steam
ignore_errors: yes
when: gaming is not defined
# Removals #
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
2021-02-14 08:19:13 -06:00
- com.visualstudio.code # Why does this throw an error? It's the correct ID.
Add initial HUGO support, FreeBSD 13 support, and script for Ansible to hit dev branch. (#4) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * Newlines, comments, and HUGO path. (#2) (#3) * Create HUGO file. * Add HUGO. * Add script for running system against development branch. * Add newline to end of file. * Comment unused blocks. * Add path of site that HUGO should host. * FreeBSD is complaining about certbot not having dict object stdout. This whole playbook is supposed to be skipped though, lol. * FreeBSD 13 is still mad. Ansible 2.11.2, jinja 2.11.2 (same version number??), Python 3.8.10. * Fix root group to be existing variable. FreeBSD uses wheel. * Allow choosing Github branch dynamically. * `branch` needs to be at General level. Testing if this works... * Change other `localhost` to `everything`. * Update FreeBSD status. * Goodbye, Code-OSS on Linux! * Delete a terrible file. * Remove excess tag. * "Fix" SSHFS for FreeBSD. * Variablize FreeBSD's loading of fusefs. * Variablize /etc/rc.conf. Enable FuseFS more properly. * Add beginning ticks. * Add missing playbook. * Enable FreeBSD mount job. * Rearrange items to be more consistent with comment. * It seems FreeBSD removed the `gnome3` metapackage. Use `gnome3-lite` instead. Also add Telegram. * Python is to 3.8 now. * Expand on FreeBSD work. * Expand on FreeBSD work. * Add placeholders for Gitlab. * Add parameter for Gitlab install. * Add Gitlab playbook. * Ensure FreeBSD uses the correct Python install. * Add newline. * Fix NFS for FreeBSD workstations. * Remove unnecessary line, restricted install to Linux in playbook. * Fix mount options for FreeBSD. * Fix mount number, as well as system-specific facts. * Add placeholders for remote viewing. * Add RDP for FreeBSD. * Omg! It works! Add setting enforcement. * Always remove OSS. * Remove hosts from explicit dev testing.
2021-07-19 07:07:03 -05:00
- com.visualstudio.code-oss
- org.midori_browser.Midori
- com.github.Eloston.UngoogledChromium
- org.gnome.Evolution # Doesn't pick up GNOME theme since contained.
2021-02-14 08:19:13 -06:00
ignore_errors: yes
2021-02-14 07:49:47 -06:00
2020-12-28 18:37:37 -06:00
## Other Stuff ##
2021-02-14 08:19:13 -06:00
# Software not yet available or working properly in Flatpak form.
2021-05-22 17:25:08 -05:00
- name: Workstation | Linux | Flatpak Distro | Package Manager | Install From Repo
package:
2021-05-22 17:25:08 -05:00
name:
- "{{ firefox_esr }}"
- vlc
- "{{ appimagelauncher }}"
- "{{ evolution }}"
- "{{ evolution }}*"
state: present
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Firefox Normal
package:
name:
- "{{ firefox }}"
state: absent
when: firefox != firefox_esr
# Lutris #
- name: Workstation | Linux | Flatpak Distro | Package Manager | Add Lutris PPA (Ubuntu)
apt_repository:
repo: ppa:lutris-team/lutris
update_cache: yes
state: present
when: ansible_distribution == "Ubuntu" and gaming is defined
2021-05-22 17:25:08 -05:00
- name: Workstation | Linux | Flatpak Distro | Package Manager | Add Lutris (besides ARM)
2021-02-11 15:03:36 -06:00
package:
name:
- lutris
2021-02-11 15:03:36 -06:00
state: present
when: ansible_architecture != "aarch64" and gaming is defined
2021-02-11 15:03:36 -06:00
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Lutris (besides ARM)
package:
name:
- lutris
state: absent
ignore_errors: yes
when: ansible_architecture != "aarch64" and gaming is not defined
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Lutris PPA (Ubuntu)
apt_repository:
repo: ppa:lutris-team/lutris
update_cache: yes
2021-05-22 17:25:08 -05:00
state: absent
when: ansible_distribution == "Ubuntu" and gaming is not defined
# Remove Repo Software #
- name: Workstation | Linux | Flatpak Distro | Package Manager | Remove Applications
package:
name:
- "{{ thunderbird }}"
- steam
- vscode
- code
- '*libreoffice*'
- gimp
state: absent