Adjust for FreeBSD root group being wheel.

This commit is contained in:
me committed 2021-01-31 13:11:40 -06:00
1 parent 81d59aabb3
commit 319a717e68
3 files changed
+22 -4

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
---
# Define users and groups for each OS
- name: Set Linux User Variables
ansible.builtin.set_fact:
root: root
root_group: root
ansible: ansible
when: ansible_distribution == "Pop!_OS" or
ansible_distribution == "Ubuntu"
- name: Set FreeBSD User Variables
ansible.builtin.set_fact:
root: root
root_group: wheel
ansible: ansible
when: ansible_distribution == "FreeBSD"