Comment 20 for bug 1835657

Revision history for this message
Attila Fazekas (afazekas) wrote :

Does not seams to work.

I am still getting the same issue.

This ad-hoc try allowed me to move forward (hit a completely different issue).

--- /tmp/orig 2019-07-12 10:54:02.349663562 +0000
+++ /usr/share/openstack-tripleo-heat-templates/deployment/podman/podman-baremetal-ansible.yaml 2019-07-12 10:54:35.774901254 +0000
@@ -110,7 +110,7 @@
               REGISTRY_USERNAME: "{{ lookup('dict', item.value).key }}"
               REGISTRY_PASSWORD: "{{ lookup('dict', item.value).value }}"
               REGISTRY: "{{ item.key }}"
- loop: "{{ query('dict', container_registry_logins) }}"
+ loop: "{{ lookup('dict', container_registry_logins is none | ternary({}, container_registry_logins | default({}))) }}"
             when:
               - container_registry_login | bool
               - container_registry_logins