Update 'roles/docker_host/tasks/ubuntu.yml'
This commit is contained in:
parent
17fef62a4b
commit
1509f57513
1 changed files with 14 additions and 1 deletions
|
@ -20,7 +20,20 @@
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
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:
|
apt:
|
||||||
pkg:
|
pkg:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
|
|
Loading…
Reference in a new issue