refactor wheel things out of the basic role

main
Ricard Illa 2022-08-30 11:20:20 +02:00
parent ecaa20fede
commit 98e608de07
5 changed files with 21 additions and 17 deletions

View File

@ -0,0 +1,2 @@
dependencies:
- role: wheel

View File

@ -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

View File

@ -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'

View File

@ -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"