Split package facts between CLI and UI.
This commit is contained in:
@ -1,28 +1,29 @@
|
||||
---
|
||||
# Define program names per OS for package builtin.
|
||||
# This is only for Workstation devices with UIs.
|
||||
|
||||
- name: Set Pop OS Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
firefox: firefox
|
||||
firefox-esr: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: sshfs
|
||||
when: ansible_distribution == "Pop!_OS"
|
||||
|
||||
|
||||
- name: Set Debian and Ubuntu Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
firefox: firefox
|
||||
firefox-esr: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: sshfs
|
||||
when: ansible_distribution in ("Debian","Ubuntu")
|
||||
|
||||
|
||||
- name: Set FreeBSD Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
firefox: firefox
|
||||
firefox-esr: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: fusefs-sshfs
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
@ -16,4 +16,4 @@
|
||||
- name: Set FreeBSD Facts
|
||||
set_fact:
|
||||
flatpak_distro: false
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
Reference in New Issue
Block a user