35c62d906b
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
19 lines
345 B
YAML
19 lines
345 B
YAML
---
|
|
- 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
|