env-ansible/facts/user.yml

13 lines
250 B
YAML

---
# 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"