Update 'roles/docker_host/tasks/ubuntu.yml'

This commit is contained in:
panda 2022-12-27 23:18:40 +01:00
parent 17fef62a4b
commit 1509f57513

View file

@ -20,7 +20,20 @@
apt:
update_cache: yes
- name: telegraf
- name: Creates directory
file:
path: /etc/docker
state: directory
- name: Copy file with owner and permissions
ansible.builtin.copy:
src: ../../../repo/docker_daemon.json
dest: /etc/docker/daemon.json
owner: root
group: root
mode: '0644'
- name: install docker
apt:
pkg:
- docker-ce