diff --git a/ansible/roles/kolla-ansible/templates/globals.yml.j2 b/ansible/roles/kolla-ansible/templates/globals.yml.j2 index d33c2211b..3fdc56ad6 100644 --- a/ansible/roles/kolla-ansible/templates/globals.yml.j2 +++ b/ansible/roles/kolla-ansible/templates/globals.yml.j2 @@ -55,8 +55,8 @@ node_custom_config: "{{ kolla_node_custom_config_path }}" #docker_registry: "172.16.0.10:4000" docker_namespace: "{{ kolla_docker_namespace }}" {% if kolla_docker_namespace_username and kolla_docker_namespace_password %} -docker_registry_username: "{{ kolla_docker_namespace_username }}" -docker_registry_password: "{{ kolla_docker_namespace_password }}" +docker_registry_username: "{{ kolla_docker_registry_username }}" +docker_registry_password: "{{ kolla_docker_registry_password }}" {% endif %}