Files
env-ansible/facts/workstation/package.yml
T

159 lines
4.1 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
ffmpeg: ffmpeg
wireless_tools: wireless-tools
base_devel: htop # Placeholder for Arch package.
macbook_wifi_driver: broadcom-sta-dkms
xz: xz
mesa: mesa
mesa_utils: mesa-utils
ninja: ninja
notify_send: libnotify
fyi: fyi
gtk3: gtk3
xz_libs: xz
cpp: libstdc++
c_libs: glibc
cpp_libs: libstdc++
z_libs: zlib
bzip: bzip2
dunst: dunst
android_jdk: openjdk
ncurses: ncurses
android_fastboot: fastboot
android_adb: adb
android_sdkmanager: sdkmanager
android_udev: android-udev
gnome_boxes: gnome-boxes
- name: Workstation | Facts | Package | apt (All Distros)
set_fact:
xz: xz-utils
mesa: libglu1-mesa
mesa_utils: libglu1-mesa
ninja: ninja-build
notify_send: libnotify-bin
gtk3: libgtk-3-dev
xz_libs: liblzma-dev
cpp: libstdc++-12-dev
c_libs: libc6:amd64
cpp_libs: libstdc++6
z_libs: lib32z1
bzip: libbz2-1.0
android_jdk: default-jdk
ncurses: libncurses5
android_udev: android-udev-rules
when: ansible_pkg_mgr == "apt"
- 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 & Devuan
set_fact:
flatpak_distro: true
dmenu: suckless-tools
firefox: firefox-esr
when: ansible_distribution in ("Debian", "Devuan")
- 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
when: ansible_distribution == "Parrot OS"
- name: Workstation | Facts | Package | pacman (All Distros)
set_fact:
base_devel: base-devel
macbook_wifi_driver: broadcom-wl-dkms
android_jdk: jdk-openjdk
android_fastboot: android-tools
android_adb: android-tools
when: ansible_pkg_mgr == "pacman"
- name: Workstation | Facts | Package | Arch / Manjaro / Artix
set_fact:
flatpak_distro: true
psutil: python-psutil
#appimagelauncher: appimagelauncher # No longer in the repos, AUR.
font_awesome: ttf-font-awesome
wireless_tools: wireless_tools
nfs: nfs-utils
when: ansible_pkg_mgr == "pacman"
- 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
ffmpeg: ffmpeg-free
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"
- name: Workstation | Facts | Package | NixOS
set_fact:
flatpak_distro: false
when: ansible_distribution == "NixOS"