12345678910111213141516171819202122 |
- ---
- docker_cli_auth_config_path: '/root/.docker'
- # oreg_url is defined by user input.
- oreg_host: "{{ oreg_url.split('/')[0] if (oreg_url is defined and '.' in oreg_url.split('/')[0]) else '' }}"
- oreg_auth_credentials_replace: False
- openshift_docker_additional_registries: []
- openshift_docker_blocked_registries: []
- openshift_docker_insecure_registries: []
- openshift_docker_ent_reg: 'registry.access.redhat.com'
- # The l2_docker_* variables convert csv strings to lists, if
- # necessary. These variables should be used in place of their respective
- # openshift_docker_* counterparts to ensure the properly formatted lists are
- # utilized.
- l2_docker_additional_registries: "{% if openshift_docker_additional_registries is string %}{% if openshift_docker_additional_registries == '' %}[]{% elif ',' in openshift_docker_additional_registries %}{{ openshift_docker_additional_registries.split(',') | list }}{% else %}{{ [ openshift_docker_additional_registries ] }}{% endif %}{% else %}{{ openshift_docker_additional_registries }}{% endif %}"
- l2_docker_blocked_registries: "{% if openshift_docker_blocked_registries is string %}{% if openshift_docker_blocked_registries == '' %}[]{% elif ',' in openshift_docker_blocked_registries %}{{ openshift_docker_blocked_registries.split(',') | list }}{% else %}{{ [ openshift_docker_blocked_registries ] }}{% endif %}{% else %}{{ openshift_docker_blocked_registries }}{% endif %}"
- l2_docker_insecure_registries: "{% if openshift_docker_insecure_registries is string %}{% if openshift_docker_insecure_registries == '' %}[]{% elif ',' in openshift_docker_insecure_registries %}{{ openshift_docker_insecure_registries.split(',') | list }}{% else %}{{ [ openshift_docker_insecure_registries ] }}{% endif %}{% else %}{{ openshift_docker_insecure_registries }}{% endif %}"
- containers_registries_conf_path: /etc/containers/registries.conf
|