summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/defaults
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-12-06 13:52:42 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-12-08 18:41:12 +0100
commit9c29b47f788b588d6f126a73e4eb03839cfb848f (patch)
tree65e581f97d5a8d481606f4cb42e591d2160cd16d /roles/container_runtime/defaults
parent7d7c4f3056fd3456f5e00f75da2154300f7e96ee (diff)
downloadopenshift-9c29b47f788b588d6f126a73e4eb03839cfb848f.tar.gz
openshift-9c29b47f788b588d6f126a73e4eb03839cfb848f.tar.bz2
openshift-9c29b47f788b588d6f126a73e4eb03839cfb848f.tar.xz
openshift-9c29b47f788b588d6f126a73e4eb03839cfb848f.zip
container-engine: log-opts is a dictionary in the daemon.json file
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/container_runtime/defaults')
-rw-r--r--roles/container_runtime/defaults/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/container_runtime/defaults/main.yml b/roles/container_runtime/defaults/main.yml
index c5a21ba46..d7eb8663f 100644
--- a/roles/container_runtime/defaults/main.yml
+++ b/roles/container_runtime/defaults/main.yml
@@ -59,6 +59,7 @@ docker_default_storage_path: /var/lib/docker
# Set local versions of facts that must be in json format for container-daemon.json
# NOTE: When jinja2.9+ is used the container-daemon.json file can move to using tojson
l_docker_log_options: "{{ l2_docker_log_options | to_json }}"
+l_docker_log_options_dict: "{{ l2_docker_log_options | oo_list_to_dict | to_json }}"
l_docker_additional_registries: "{{ l2_docker_additional_registries | to_json }}"
l_docker_blocked_registries: "{{ l2_docker_blocked_registries | to_json }}"
l_docker_insecure_registries: "{{ l2_docker_insecure_registries | to_json }}"