32 lines
815 B
YAML

---
# Define program names per OS for package builtin.
# This is only for Workstation devices with UIs.
- name: Facts | Workstation | Package | Pop_OS! and Ubuntu
set_fact:
flatpak_distro: true
firefox: firefox
firefox_esr: firefox
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution in ("Pop!_OS", "Ubuntu")
- name: Facts | Workstation | Package | Debian
set_fact:
flatpak_distro: true
firefox: firefox
firefox_esr: firefox-esr
thunderbird: thunderbird
evolution: evolution
when: ansible_distribution in ("Debian")
- name: Facts | Workstation | Package | FreeBSD
set_fact:
flatpak_distro: false
firefox: firefox
firefox_esr: firefox-esr
thunderbird: thunderbird
evolution: evolution
when: ansible_system == "FreeBSD"