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

13
facts/general/user.yml Normal file
View File

@ -0,0 +1,13 @@
---
# Define users and groups per OS type.
- name: Set Linux User Variables
set_fact:
root_group: root
when: ansible_system == "Linux"
- name: Set FreeBSD User Variables
set_fact:
root_group: wheel
when: ansible_system == "FreeBSD"