mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2025-09-26 17:51:03 +02:00
Added daemon.json tempplate
This commit is contained in:
parent
4751c3e03a
commit
eebb89b1fe
@ -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
1
templates/daemon.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{{ docker_daemon_options | to_nice_json }}
|
Loading…
Reference in New Issue
Block a user