Initial commit of role files and readme.

This commit is contained in:
Nils Cant
2019-08-20 15:04:06 +02:00
parent 93f28fc00e
commit 78965c8994
9 changed files with 115 additions and 0 deletions

16
tasks/apt.yml Normal file
View File

@@ -0,0 +1,16 @@
---
- name: Install prerequisites
apt:
name: ['apt-transport-https', 'ca-certificates', 'gpg']
- name: Add docker apt key
apt_key:
keyserver: hkp://p80.pool.sks-keyservers.net:80
id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
- name: Add docker repository
apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
- name: Install docker CE
apt: name=docker-ce state=latest