docker role

main
Ricard Illa 2022-10-30 15:53:17 +01:00
parent 8fe7c11617
commit 254247032d
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- name: install docker with apk
apk:
name:
- docker
- docker-compose
- name: start and enable docker
service:
name: docker
state: started
enabled: true
runlevel: boot

View File

@ -0,0 +1,5 @@
---
- name: 'alpine-specific docker things'
include_tasks: alpine.yml
when: ansible_distribution == "Alpine"