summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/defaults
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-08 12:52:04 -0500
committerGitHub <noreply@github.com>2017-12-08 12:52:04 -0500
commit8b484281b6052b82869da8cc691e427ec9e1a0fc (patch)
treef8d9a77d4a22caf1567b5b83cdbd83c5affd36fa /roles/container_runtime/defaults
parent0beab180d22f28f3f529ca0252f23bb92a7b69a7 (diff)
parent40d63b7dfa8b88ad2459a86b436385612dbb2150 (diff)
downloadopenshift-8b484281b6052b82869da8cc691e427ec9e1a0fc.tar.gz
openshift-8b484281b6052b82869da8cc691e427ec9e1a0fc.tar.bz2
openshift-8b484281b6052b82869da8cc691e427ec9e1a0fc.tar.xz
openshift-8b484281b6052b82869da8cc691e427ec9e1a0fc.zip
Merge pull request #6316 from giuseppe/fix-syscontainers-installation
syscontainers: fix CRI-O and container-engine installation
Diffstat (limited to 'roles/container_runtime/defaults')
-rw-r--r--roles/container_runtime/defaults/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/container_runtime/defaults/main.yml b/roles/container_runtime/defaults/main.yml
index bd96965ac..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 }}"
@@ -81,6 +82,7 @@ l_insecure_crio_registries: "{{ '\"{}\"'.format('\", \"'.join(l2_docker_insecure
l_crio_registries: "{{ l2_docker_additional_registries + ['docker.io'] }}"
l_additional_crio_registries: "{{ '\"{}\"'.format('\", \"'.join(l_crio_registries)) }}"
+
openshift_crio_image_tag_default: "latest"
l_crt_crio_image_tag_dict:
@@ -127,3 +129,5 @@ l_docker_image_tag: "{{ l_crt_docker_image_tag_dict[openshift_deployment_type] }
l_docker_image_default: "{{ l_docker_image_prepend }}/{{ openshift_docker_service_name }}:{{ l_docker_image_tag }}"
l_docker_image: "{{ openshift_docker_systemcontainer_image_override | default(l_docker_image_default) }}"
+
+l_is_node_system_container: "{{ (openshift_use_node_system_container | default(openshift_use_system_containers | default(false)) | bool) }}"