69 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
---
 | 
						|
# Packages specific to workstations.
 | 
						|
 | 
						|
## Repo Management ##
 | 
						|
 | 
						|
# Needed for dnf packages such as vlc.
 | 
						|
# https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/
 | 
						|
- name: Workstation | Linux | Software | Packages | Fedora Fusion Repos
 | 
						|
  shell: "{{ item }}"
 | 
						|
  loop:
 | 
						|
    - "dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm"
 | 
						|
    - "dnf config-manager --enable rpmfusion-free"
 | 
						|
    - "dnf config-manager --enable rpmfusion-free-updates"
 | 
						|
    - "dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm"
 | 
						|
    - "dnf config-manager --enable rpmfusion-nonfree"
 | 
						|
    - "dnf config-manager --enable rpmfusion-nonfree-updates"
 | 
						|
  when: ansible_distribution == "Fedora"
 | 
						|
 | 
						|
 | 
						|
## Packages ##
 | 
						|
 | 
						|
- name: Workstation | Linux | Software | Packages | Install Software (Editing)
 | 
						|
  package:
 | 
						|
    name:
 | 
						|
    - "{{ ffmpeg }}"
 | 
						|
    state: present
 | 
						|
  when: editing in (true, "video", "audio")
 | 
						|
 | 
						|
 | 
						|
## Other Stuff
 | 
						|
 | 
						|
# Software not yet available or working properly in Flatpak form.
 | 
						|
 | 
						|
- name: Workstation | Linux | Software | Packages | Install From Repo
 | 
						|
  package:
 | 
						|
    name:
 | 
						|
      - vlc
 | 
						|
      - "{{ appimagelauncher }}"
 | 
						|
      - "{{ evolution }}"
 | 
						|
      - "{{ evolution }}*"
 | 
						|
      - gparted
 | 
						|
      - hugo
 | 
						|
    state: present
 | 
						|
 | 
						|
- name: Workstation | Linux | Software | Packages | GS Connect (KDE Connect, Android Tool)
 | 
						|
  package:
 | 
						|
    name:
 | 
						|
    - gnome-shell-extension-gsconnect
 | 
						|
    state: present
 | 
						|
  when: ansible_distribution in ("Debian")
 | 
						|
  ignore_errors: yes
 | 
						|
 | 
						|
# Remove Repo Software #
 | 
						|
 | 
						|
- name: Workstation | Linux | Software | Packages | Remove Applications
 | 
						|
  package:
 | 
						|
    name:
 | 
						|
    - "{{ firefox }}"
 | 
						|
    - "{{ firefox_esr }}"
 | 
						|
    - "{{ thunderbird }}"
 | 
						|
    - steam
 | 
						|
    - vscode
 | 
						|
    - code
 | 
						|
    - libreoffice
 | 
						|
    - "*libreoffice*"
 | 
						|
    - '*libreoffice*'
 | 
						|
    - gimp
 | 
						|
    state: absent
 |