From 4611aef0b70de2e88e15b538d704c6e5b93b2772 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Thu, 5 May 2022 11:22:15 +1000 Subject: [PATCH] Set tls-verify false when using insecure reg When we are using an insecure registry, podman login will fail unless we set tripleo_podman_tls_verify to false. This change adds the variable based on the condition that insecure registries are being configured. Change-Id: Iec8c626a4b216b66a4b320f3de0d7c4b19dd2145 --- deployment/podman/podman-baremetal-ansible.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/podman/podman-baremetal-ansible.yaml b/deployment/podman/podman-baremetal-ansible.yaml index 84dabb78df..4d433a8862 100644 --- a/deployment/podman/podman-baremetal-ansible.yaml +++ b/deployment/podman/podman-baremetal-ansible.yaml @@ -81,6 +81,8 @@ outputs: role_data: description: Role data for the podman service value: + ansible_group_vars: + tripleo_podman_tls_verify: {if: [insecure_registry_is_set, "false", "true"]} service_name: podman config_settings: {} step_config: ''