You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
369 B
YAML
19 lines
369 B
YAML
---
|
|
|
|
- name: Install Docker-CE
|
|
apt:
|
|
state: present
|
|
name:
|
|
- docker.io
|
|
- docker-compose
|
|
- python3-docker
|
|
|
|
- name: Configure docker daemon
|
|
copy:
|
|
content: "{{ docker_configuration | to_nice_json }}\n"
|
|
dest: "{{ global_docker_daemon_configuration_file }}"
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,g=r,o=r
|
|
notify: restart docker
|