When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts.

This commit is contained in:
2021-02-01 08:28:12 -06:00
parent f7ac16c699
commit 2cef5e7921
9 changed files with 110 additions and 4 deletions

28
facts/general/package.yml Normal file
View File

@ -0,0 +1,28 @@
---
# Define program names per OS for package builtin.
- name: Set Pop OS Package Names
set_fact:
firefox: 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
thunderbird: thunderbird
evolution: evolution
sshfs: sshfs
when: ansible_distribution in ("Debian","Ubuntu")
- name: Set FreeBSD Package Names
set_fact:
firefox: firefox-esr
thunderbird: thunderbird
evolution: evolution
sshfs: fusefs-sshfs
when: ansible_distribution == "FreeBSD"