Added daemon.json tempplate

This commit is contained in:
Rowan Potgieter 2018-12-21 07:40:21 +02:00
parent 4751c3e03a
commit eebb89b1fe
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
- name: Configure docker daemon.json file
template:
src: '{{ docker_daemon_options | to_nice_json }}'
src: daemon.json.j2
dest: /etc/docker/daemon.json
mode: 0644
notify: restart docker

1
templates/daemon.json.j2 Normal file
View File

@ -0,0 +1 @@
{{ docker_daemon_options | to_nice_json }}