Hyperling 904dda6883
Add support for openSUSE (#35)
* Add openSUSE for initial testing.

* Add package names for openSUSE Zypper.

* Add commands for Zypper. Do apt clean after autoremove.

* Add cronie to openSUSE.

* Remove warn parameter for newer version of Ansible.

* Commenting warn worked, removing it completely.

* Add libvulkan1 since it's a dependency for GNOME.

* Fix order of lynis and nmap. Thought I had already done this before?

* Start adding package names for openSUSE.

* Create the sshd_config file if it is not already present.

* Fix OS in conditional.

* Save the command for checking ansible variables.

* Use openSUSE family since Tumbleweed and Leap are considered different distros.

* Get rid of 2nd flathub repo, no longer use the dl. version..

* Add status update for openSUSE.

* Reword sentence.

* Add Brave Browser to openSUSE.

* Script is running successfully now when Workstation is enabled.

* Add status of openSUSE Leap.

* Add space.

* No longer use install-new-recommends.
2023-02-18 09:29:36 -06:00

101 lines
2.5 KiB
YAML

---
# Define program names per OS for package builtin.
# This is only for Workstation devices with UIs.
- name: Workstation | Facts | Packages | Parrot OS Fixes
set_fact:
ansible_pkg_mgr: "apt"
ansible_python_interpreter: "/usr/bin/python3"
when: ansible_distribution == "Parrot OS"
- name: Workstation | Facts | Package | Consistent
set_fact:
firefox: firefox
firefox_esr: firefox-esr
thunderbird: thunderbird
evolution: evolution
psutil: python3-psutil
gnome_tweaks: gnome-tweaks
dconf_editor: dconf-editor
appimagelauncher: htop #placeholder
nfs: nfs-common
msgfmt: gettext
make: make
font_awesome: fonts-font-awesome
dmenu: dmenu
sassc: sassc
- name: Workstation | Facts | Package | Pop_OS!
set_fact:
flatpak_distro: true
firefox_esr: firefox
when: ansible_distribution == "Pop!_OS"
- name: Workstation | Facts | Package | Ubuntu
set_fact:
flatpak_distro: true
firefox_esr: firefox
dmenu: suckless-tools
when: ansible_distribution == "Ubuntu"
- name: Workstation | Facts | Package | Debian
set_fact:
flatpak_distro: true
dmenu: suckless-tools
when: ansible_distribution == "Debian"
- name: Workstation | Facts | Package | Mint
set_fact:
flatpak_distro: true
firefox_esr: firefox
when: ansible_distribution == "Linux Mint"
- name: Workstation | Facts | Package | Parrot OS
set_fact:
flatpak_distro: true
firefox_esr: firefox-esr
when: ansible_distribution == "Parrot OS"
- name: Workstation | Facts | Package | Arch + Manjaro
set_fact:
flatpak_distro: true
firefox_esr: firefox
psutil: python-psutil
appimagelauncher: appimagelauncher
when: ansible_distribution == "Archlinux"
- name: Workstation | Facts | Package | FreeBSD
set_fact:
flatpak_distro: false
psutil: py38-psutil
ansible_python_interpreter: "/usr/local/bin/python3.8"
make: gmake # make comes with OS and cannot be installed with pkg. Try using gmake for better luck.
font_awesome: font-awesome
when: ansible_system == "FreeBSD"
- name: Workstation | Facts | Package | Fedora
set_fact:
flatpak_distro: true
firefox_esr: firefox
font_awesome: python3-XStatic-Font-Awesome
nfs: nfs-utils
when: ansible_distribution == "Fedora"
- name: Workstation | Facts | Package | openSUSE
set_fact:
flatpak_distro: true
firefox_esr: firefox-esr-branding-openSUSE
font_awesome: fontawesome-fonts
nfs: utils-libnfs
when: ansible_os_family == "Suse"