Split package facts between CLI and UI.
This commit is contained in:
parent
14df956852
commit
6633e62c77
@ -1,11 +1,9 @@
|
||||
---
|
||||
# Define program names per OS for package builtin.
|
||||
# This file is for ALL systems and should not include UI components.
|
||||
|
||||
- name: Set Pop OS Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: sshfs
|
||||
locate: locate
|
||||
when: ansible_distribution == "Pop!_OS"
|
||||
@ -13,9 +11,6 @@
|
||||
|
||||
- name: Set Debian and Ubuntu Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: sshfs
|
||||
locate: locate
|
||||
when: ansible_distribution in ("Debian","Ubuntu")
|
||||
@ -23,9 +18,6 @@
|
||||
|
||||
- name: Set FreeBSD Package Names
|
||||
set_fact:
|
||||
firefox: firefox-esr
|
||||
thunderbird: thunderbird
|
||||
evolution: evolution
|
||||
sshfs: fusefs-sshfs
|
||||
locate: htop # This is just a placeholder to prevent errors
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
@ -25,4 +25,4 @@
|
||||
cups_pattern: cupsd
|
||||
cups_browse: cups-browsed
|
||||
cups_browse_pattern: cups-browsed
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
@ -25,4 +25,4 @@
|
||||
lynis_report: /root/lynis.log
|
||||
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
||||
ansible_pull_exec: /usr/local/bin/ansible-pull
|
||||
when: ansible_distribution == "FreeBSD"
|
||||
when: ansible_system == "FreeBSD"
|
@ -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"
|
@ -6,13 +6,14 @@
|
||||
name:
|
||||
- xorg
|
||||
- gnome3
|
||||
- "{{ firefox }}"
|
||||
- "{{ firefox-esr }}"
|
||||
- "{{ thunderbird }}"
|
||||
state: present
|
||||
|
||||
- name: FreeBSD | Software | Uninstall Bloat
|
||||
package:
|
||||
name:
|
||||
- "{{ firefox }}"
|
||||
- "{{ evolution }}"
|
||||
state: absent
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
package:
|
||||
name:
|
||||
- "{{ firefox }}"
|
||||
- "{{ firefox-esr }}"
|
||||
- "{{ thunderbird }}"
|
||||
- "{{ evolution }}"
|
||||
state: absent
|
Loading…
x
Reference in New Issue
Block a user