docker: new role that is common to all docker VMs
This commit is contained in:
parent
0d5f9d3d1c
commit
ea2aaee4dc
2
hosts
2
hosts
@ -4,3 +4,5 @@ gw21.regensburg.freifunk.net
|
|||||||
gw31.regensburg.freifunk.net
|
gw31.regensburg.freifunk.net
|
||||||
stats.ffrgb ansible_host=10.90.224.100
|
stats.ffrgb ansible_host=10.90.224.100
|
||||||
unms.ffrgb ansible_host=10.90.224.101
|
unms.ffrgb ansible_host=10.90.224.101
|
||||||
|
unifi.ffrgb ansible_host=10.90.224.102
|
||||||
|
tiles.ffrgb ansible_host=10.90.224.103
|
||||||
|
17
roles/docker/tasks/main.yml
Normal file
17
roles/docker/tasks/main.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Enable docker apt-key
|
||||||
|
apt_key: url='https://download.docker.com/linux/debian/gpg'
|
||||||
|
|
||||||
|
- name: Enable docker repository
|
||||||
|
apt_repository:
|
||||||
|
repo: 'deb https://download.docker.com/linux/debian buster stable'
|
||||||
|
filename: docker
|
||||||
|
|
||||||
|
- name: Install docker
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- docker-ce
|
||||||
|
- docker-ce-cli
|
||||||
|
- containerd.io
|
||||||
|
- docker-compose
|
Loading…
Reference in New Issue
Block a user