Basic configuration with docker

Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
This commit is contained in:
Yohann D'ANELLO
2020-12-22 00:16:11 +01:00
commit 35c62d906b
15 changed files with 4280 additions and 0 deletions

View File

@ -0,0 +1,18 @@
---
- name: Install docker
apt:
update_cache: true
name:
- docker
- docker.io
- docker-compose
state: present
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Indicate role in motd
template:
src: update-motd.d/05-service.j2
dest: /etc/update-motd.d/05-docker
mode: 0755