Add brackets for DockerRegistryMirror for now

DockerRegistryMirror is given as a string in TripleO, so for now, let's
add (missing) brackets and figure out later how we can change tripleo to
change the data type.
changes/10/564510/1
Emilien Macchi 5 years ago
parent dbe1af998d
commit 8e490a6932
  1. 2
      vars/main.yml

@ -1,4 +1,4 @@
_full_docker_options: "{% if ansible_selinux.status == 'enabled' %}--selinux-enabled {% endif %}{{ container_registry_docker_options }}"
_docker_daemon_config: |
debug: {{ container_registry_debug }}
{% if container_registry_mirrors | length > 0 %}registry-mirrors: {{ container_registry_mirrors }}{% endif %}
{% if container_registry_mirrors | length > 0 %}registry-mirrors: [{{ container_registry_mirrors }}]{% endif %}

Loading…
Cancel
Save