Fix fact locations.

This commit is contained in:
Hyperling 2021-02-06 15:42:39 -06:00
parent 7fed888aa0
commit 30d76bb6c0
2 changed files with 8 additions and 13 deletions

View File

@ -6,8 +6,6 @@
set_fact: set_fact:
sshfs: sshfs sshfs: sshfs
locate: locate locate: locate
gnome_tweaks: gnome-tweaks
dconf_editor: dconf-editor
when: ansible_pkg_mgr == "apt" when: ansible_pkg_mgr == "apt"
@ -15,6 +13,4 @@
set_fact: set_fact:
sshfs: fusefs-sshfs sshfs: fusefs-sshfs
locate: htop # Placeholder to prevent errors. locate builtin FreeBSD. locate: htop # Placeholder to prevent errors. locate builtin FreeBSD.
gnome_tweaks: gnome-tweaks
dconf_editor: dconf-editor
when: ansible_system == "FreeBSD" when: ansible_system == "FreeBSD"

View File

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