diff --git a/tasks/docker-daemon-json.yml b/tasks/docker-daemon-json.yml index 7e00515..dbc3246 100644 --- a/tasks/docker-daemon-json.yml +++ b/tasks/docker-daemon-json.yml @@ -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 diff --git a/templates/daemon.json.j2 b/templates/daemon.json.j2 new file mode 100644 index 0000000..c556ef0 --- /dev/null +++ b/templates/daemon.json.j2 @@ -0,0 +1 @@ +{{ docker_daemon_options | to_nice_json }} \ No newline at end of file