2022-09-04 17:25:14 +02:00
|
|
|
---
|
2022-09-04 17:53:27 +02:00
|
|
|
|
|
|
|
- name: create 'wheel' group
|
|
|
|
group:
|
|
|
|
name: wheel
|
|
|
|
gid: 0
|
|
|
|
when: ansible_distribution == "OpenBSD"
|
|
|
|
|
2022-08-30 11:20:20 +02:00
|
|
|
- name: create 'wheel' group
|
|
|
|
group:
|
|
|
|
name: wheel
|
|
|
|
gid: 10
|
2022-09-04 17:53:27 +02:00
|
|
|
when: ansible_distribution != "OpenBSD"
|
2022-08-30 11:20:20 +02:00
|
|
|
|
|
|
|
- name: 'alpine-specific wheel things'
|
|
|
|
include_tasks: alpine.yml
|
|
|
|
when: ansible_distribution == "Alpine"
|
2022-09-04 17:15:52 +02:00
|
|
|
|
2022-09-04 17:53:27 +02:00
|
|
|
- name: 'OpenBSD-specific wheel things'
|
|
|
|
include_tasks: openbsd.yml
|
|
|
|
when: ansible_distribution == "OpenBSD"
|
|
|
|
|
2022-09-04 17:15:52 +02:00
|
|
|
- name: setup with sudo
|
|
|
|
include_tasks: sudo.yml
|
|
|
|
when: ansible_distribution in ["Debian", "Ubuntu"]
|