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
This commit is contained in:
Vladimir Kozhukalov 2023-08-15 17:03:12 +03:00
parent 2db78031bc
commit 8366d679dd
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}