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.
|
# 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
|
- name: Set Pop OS Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
|
||||||
thunderbird: thunderbird
|
|
||||||
evolution: evolution
|
|
||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
locate: locate
|
locate: locate
|
||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
@ -13,9 +11,6 @@
|
|||||||
|
|
||||||
- name: Set Debian and Ubuntu Package Names
|
- name: Set Debian and Ubuntu Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
|
||||||
thunderbird: thunderbird
|
|
||||||
evolution: evolution
|
|
||||||
sshfs: sshfs
|
sshfs: sshfs
|
||||||
locate: locate
|
locate: locate
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
when: ansible_distribution in ("Debian","Ubuntu")
|
||||||
@ -23,9 +18,6 @@
|
|||||||
|
|
||||||
- name: Set FreeBSD Package Names
|
- name: Set FreeBSD Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
|
||||||
thunderbird: thunderbird
|
|
||||||
evolution: evolution
|
|
||||||
sshfs: fusefs-sshfs
|
sshfs: fusefs-sshfs
|
||||||
locate: htop # This is just a placeholder to prevent errors
|
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_pattern: cupsd
|
||||||
cups_browse: cups-browsed
|
cups_browse: cups-browsed
|
||||||
cups_browse_pattern: cups-browsed
|
cups_browse_pattern: cups-browsed
|
||||||
when: ansible_distribution == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
@ -25,4 +25,4 @@
|
|||||||
lynis_report: /root/lynis.log
|
lynis_report: /root/lynis.log
|
||||||
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
sudoers_install_dir: /usr/local/etc/sudoers.d/ansible
|
||||||
ansible_pull_exec: /usr/local/bin/ansible-pull
|
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.
|
# Define program names per OS for package builtin.
|
||||||
|
# This is only for Workstation devices with UIs.
|
||||||
|
|
||||||
- name: Set Pop OS Package Names
|
- name: Set Pop OS Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
firefox: firefox
|
||||||
|
firefox-esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: sshfs
|
|
||||||
when: ansible_distribution == "Pop!_OS"
|
when: ansible_distribution == "Pop!_OS"
|
||||||
|
|
||||||
|
|
||||||
- name: Set Debian and Ubuntu Package Names
|
- name: Set Debian and Ubuntu Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
firefox: firefox
|
||||||
|
firefox-esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: sshfs
|
|
||||||
when: ansible_distribution in ("Debian","Ubuntu")
|
when: ansible_distribution in ("Debian","Ubuntu")
|
||||||
|
|
||||||
|
|
||||||
- name: Set FreeBSD Package Names
|
- name: Set FreeBSD Package Names
|
||||||
set_fact:
|
set_fact:
|
||||||
firefox: firefox-esr
|
firefox: firefox
|
||||||
|
firefox-esr: firefox-esr
|
||||||
thunderbird: thunderbird
|
thunderbird: thunderbird
|
||||||
evolution: evolution
|
evolution: evolution
|
||||||
sshfs: fusefs-sshfs
|
when: ansible_system == "FreeBSD"
|
||||||
when: ansible_distribution == "FreeBSD"
|
|
@ -16,4 +16,4 @@
|
|||||||
- name: Set FreeBSD Facts
|
- name: Set FreeBSD Facts
|
||||||
set_fact:
|
set_fact:
|
||||||
flatpak_distro: false
|
flatpak_distro: false
|
||||||
when: ansible_distribution == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
@ -6,13 +6,14 @@
|
|||||||
name:
|
name:
|
||||||
- xorg
|
- xorg
|
||||||
- gnome3
|
- gnome3
|
||||||
- "{{ firefox }}"
|
- "{{ firefox-esr }}"
|
||||||
- "{{ thunderbird }}"
|
- "{{ thunderbird }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: FreeBSD | Software | Uninstall Bloat
|
- name: FreeBSD | Software | Uninstall Bloat
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
- "{{ firefox }}"
|
||||||
- "{{ evolution }}"
|
- "{{ evolution }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- "{{ firefox }}"
|
- "{{ firefox }}"
|
||||||
|
- "{{ firefox-esr }}"
|
||||||
- "{{ thunderbird }}"
|
- "{{ thunderbird }}"
|
||||||
- "{{ evolution }}"
|
- "{{ evolution }}"
|
||||||
state: absent
|
state: absent
|
Loading…
x
Reference in New Issue
Block a user