refactor wheel things out of the basic role
parent
ecaa20fede
commit
98e608de07
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- role: wheel
|
|
@ -2,23 +2,6 @@
|
|||
apk:
|
||||
name: python3
|
||||
|
||||
- name: create 'wheel' group
|
||||
group:
|
||||
name: wheel
|
||||
gid: 10
|
||||
|
||||
- name: install doas
|
||||
apk:
|
||||
name: doas
|
||||
|
||||
- name: copy doas config
|
||||
copy:
|
||||
src: doas.conf
|
||||
dest: /etc/doas.d/doas.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
||||
- name: create group 'rilla'
|
||||
group:
|
||||
name: rilla
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
- name: install doas
|
||||
apk:
|
||||
name: doas
|
||||
|
||||
- name: copy doas config
|
||||
copy:
|
||||
src: doas.conf
|
||||
dest: /etc/doas.d/doas.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
|
@ -0,0 +1,8 @@
|
|||
- name: create 'wheel' group
|
||||
group:
|
||||
name: wheel
|
||||
gid: 10
|
||||
|
||||
- name: 'alpine-specific wheel things'
|
||||
include_tasks: alpine.yml
|
||||
when: ansible_distribution == "Alpine"
|
Loading…
Reference in New Issue