From 8366d679ddc12931606d94a0c169af62126adf41 Mon Sep 17 00:00:00 2001 From: Vladimir Kozhukalov Date: Tue, 15 Aug 2023 17:03:12 +0300 Subject: [PATCH] Fix hosts.toml template for containerd The issue is that playbook that configures containerd defines buildset registry namespace w/o skip_verify parameter which leads to the error in the template. This change add additional check whether skip_verify parameter is defined or not. Change-Id: I7b6f19d4fe881e33fef2370bac887e9cd66c7b35 --- tools/gate/playbooks/files/hosts.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/playbooks/files/hosts.toml b/tools/gate/playbooks/files/hosts.toml index 4ce2b31497..e8c08eedbb 100644 --- a/tools/gate/playbooks/files/hosts.toml +++ b/tools/gate/playbooks/files/hosts.toml @@ -7,6 +7,6 @@ capabilities = ["pull", "resolve", "push"] {% if item.ca is defined %} ca = "{{ item.ca }}" {% endif %} -{% if item.skip_verify %} +{% if item.skip_verify is defined and item.skip_verify %} skip_verify = true {% endif %}