🔨 Manage daemon here

This commit is contained in:
SebClem 2022-02-04 10:59:51 +01:00
parent fb539a0531
commit c7f6c5d35f
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305
2 changed files with 10 additions and 0 deletions

View File

@ -10,4 +10,13 @@
community.docker.docker_plugin: community.docker.docker_plugin:
plugin_name: grafana/loki-docker-driver:latest plugin_name: grafana/loki-docker-driver:latest
state: enabled 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 notify: Restart Docker

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

@ -0,0 +1 @@
{{ docker_daemon_option | to_nice_json(indent=2) }}