templier-ansible/roles/docker/tasks/main.yml
Yohann D'ANELLO 57b83cb58e
Explicit permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-03-18 00:28:19 +01:00

21 lines
377 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
owner: root
group: root
mode: 0755