When setting facts for localhost, does not set facts for other host patterns. Testing breakout of workstation facts.
This commit is contained in:
13
facts/general/user.yml
Normal file
13
facts/general/user.yml
Normal 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"
|
Reference in New Issue
Block a user