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

This commit is contained in:
me committed 2021-02-01 08:28:12 -06:00
1 parent f7ac16c699
commit 2cef5e7921
9 files changed
+110 -4

No files matched your search

+13
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"