Simple terraform+ansible configuration to quickly spin up a development Docker swarm on my homeserver
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
426 B

---
- name: install python3 docker wrapper
apt:
name:
- python3-docker
- name: install docker apt gpg key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
- name: install docker apt repository
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
- name: install docker
apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io