wheel for openbsd
parent
a999c6949c
commit
b27373bfa7
|
@ -1,13 +1,25 @@
|
|||
---
|
||||
|
||||
- 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: setup with sudo
|
||||
include_tasks: sudo.yml
|
||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- name: copy doas config
|
||||
copy:
|
||||
src: doas.conf
|
||||
dest: /etc/doas.conf
|
||||
owner: root
|
||||
group: wheel
|
||||
mode: '0644'
|
Loading…
Reference in New Issue