summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/tasks/main.yml
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-03-25 18:46:24 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-04-16 11:33:43 +0000
commitbf6776cc01865b8ba392fdbec18e28bf2a362b05 (patch)
tree0a68ae8b859984f1fd8d21c58f456e53d7e7d8b1 /ansible/roles/docker/tasks/main.yml
parente3c829675916391011e86ee78a404570b99bc51a (diff)
Molecule tests for docker role
Issue-ID: OOM-1759 Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/roles/docker/tasks/main.yml')
-rw-r--r--ansible/roles/docker/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
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