Allow to set data root and storage driver for docker

This commit is contained in:
Stefan Haun 2020-12-11 17:25:08 +01:00
parent 16200bf411
commit 2203abeaf6

View file

@ -45,16 +45,9 @@
- python-docker - python-docker
- name: Set docker configuration - name: Set docker configuration
copy: template:
src: templates/daemon.json.j2
dest: /etc/docker/daemon.json dest: /etc/docker/daemon.json
content: |
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
}
}
notify: restart docker notify: restart docker
- name: Check current docker-compose version. - name: Check current docker-compose version.