ansible/roles/wheel/tasks/main.yml

26 lines
557 B
YAML

---
- name: create 'wheel' group
group:
name: wheel
gid: 0
when: ansible_distribution == "OpenBSD"
- name: create 'wheel' group
group:
name: wheel
gid: 10
when: ansible_distribution != "OpenBSD"
- name: 'alpine-specific wheel things'
include_tasks: alpine.yml
when: ansible_distribution == "Alpine"
- name: 'OpenBSD-specific wheel things'
include_tasks: openbsd.yml
when: ansible_distribution == "OpenBSD"
- name: 'debian-specific things'
include_tasks: debian.yml
when: ansible_distribution in ["Debian", "Ubuntu"]