From bf6776cc01865b8ba392fdbec18e28bf2a362b05 Mon Sep 17 00:00:00 2001 From: Samuli Silvius Date: Mon, 25 Mar 2019 18:46:24 +0200 Subject: Molecule tests for docker role Issue-ID: OOM-1759 Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac Signed-off-by: Samuli Silvius --- ansible/roles/docker/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ansible/roles/docker/tasks/main.yml') diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index de740df2..1925d09b 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -24,7 +24,7 @@ - name: Setup docker container logging settings json_mod: path: /etc/docker/daemon.json - key: '' # the whole JSON document per https://tools.ietf.org/html/rfc6901 + key: '' # the whole JSON document per https://tools.ietf.org/html/rfc6901 # "value" must be wrapped in single quote "'" with extra space in front of "{" (ansible workaround) # reference: https://stackoverflow.com/questions/31969872 value: ' { "log-driver": "json-file", "log-opts": { "max-size": "{{ docker.log_max_size }}", "max-file": "{{ docker.log_max_file }}" } }' @@ -46,4 +46,4 @@ systemd: name: docker state: started - enabled: yes + enabled: true -- cgit 1.2.3-korg