Fixes and Enhancements (#48)
* Fix metasplot install if /usr/local/bin is not active in path yet. Also use variables. * Use plocate on openSUSE. Supposed to be faster. Cannot have both m and p installed at the same time and p comes with the base system. * Include wheel group for user as well. * Finalize GNOME settings, go with RC commands instead of dconf module. * Add hostname to report files. * Add TBD for shared home situation. * Fix cron service for Fedora. * Disable the power button. * Fix Fedora ffmpeg issues. Move package modules from flatpak playbook. Uninstall firefox from package manager. * Enhance update function to handle shared home between multiple distributions. * Allow keeping local backups of files. * Replace flatpak repair check with accept flag instead of battery so that any automated update runs do the cleanup. * Begin hoarding settings files. * Start building out a FireFox profile. * Fix extra comment command in comment. * Add an All option to completely compress the entire directory. * Codium is still broken on all tested systems, hide from Favorites. * Add scipt to handle audio files. Also can convert to 432Hz. * Use cut instead of awk to get rid of first parameter. Fixes bugs when spaces are allowed in the filenames. * Enhancements and bugfix for "$freq". * Add playbook for desktop VPN clients. Start with Mullvad. * Add website to the seeded projects. * Add firmware updates to the update function. * Allow `fwupdmgr` to fail and have `update` still continue. * Shorten lines. * Uninstall DeltaChat. * Separate the firmware update into its own function. * Add alias for cloning one folder to another without using rm/cp. * Fix typo in rsync. * Go ahead and add extra options. * Make the files human readable size descriptions. * Remove unnecessary v, P does good enough.
This commit is contained in:
@ -1,9 +1,92 @@
|
||||
---
|
||||
# Packages specific to workstations.
|
||||
|
||||
- name: Workstation | Software | Packages | Install Software (Editing)
|
||||
package:
|
||||
## 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 == true
|
||||
|
||||
|
||||
## 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 }}*"
|
||||
state: present
|
||||
|
||||
# Lutris #
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Add Lutris PPA (Ubuntu)
|
||||
apt_repository:
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: yes
|
||||
state: present
|
||||
when: ansible_distribution == "Ubuntu" and gaming == true
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Add Lutris (besides ARM)
|
||||
package:
|
||||
name:
|
||||
- lutris
|
||||
state: present
|
||||
when: ansible_architecture != "aarch64" and gaming == true
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Remove Lutris (besides ARM)
|
||||
package:
|
||||
name:
|
||||
- lutris
|
||||
state: absent
|
||||
when: ansible_architecture != "aarch64" and gaming is not defined
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Workstation | Linux | Software | Packages | Remove Lutris PPA (Ubuntu)
|
||||
apt_repository:
|
||||
repo: ppa:lutris-team/lutris
|
||||
update_cache: yes
|
||||
state: absent
|
||||
when: ansible_distribution == "Ubuntu" and gaming is not defined
|
||||
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
|
||||
|
Reference in New Issue
Block a user