14 lines
295 B
YAML
14 lines
295 B
YAML
---
|
|
# Define users and groups per OS type.
|
|
|
|
- name: General | Facts | User | Linux
|
|
ansible.builtin.set_fact:
|
|
root_group: root
|
|
when: ansible_system == "Linux"
|
|
|
|
|
|
- name: General | Facts | User | FreeBSD
|
|
ansible.builtin.set_fact:
|
|
root_group: wheel
|
|
when: ansible_system == "FreeBSD"
|