🔨 Manage daemon here
This commit is contained in:
parent
fb539a0531
commit
c7f6c5d35f
@ -10,4 +10,13 @@
|
||||
community.docker.docker_plugin:
|
||||
plugin_name: grafana/loki-docker-driver:latest
|
||||
state: enabled
|
||||
|
||||
|
||||
- name: Add docker deamon.json
|
||||
ansible.builtin.template:
|
||||
src: daemon.json.j2
|
||||
dest: /etc/docker/daemon.json
|
||||
owner: root
|
||||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: Restart Docker
|
||||
|
1
templates/daemon.json.j2
Normal file
1
templates/daemon.json.j2
Normal file
@ -0,0 +1 @@
|
||||
{{ docker_daemon_option | to_nice_json(indent=2) }}
|
Loading…
Reference in New Issue
Block a user