From bdaa33c3bce3491e7049507fa952ed880524878b Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Tue, 5 Apr 2022 15:25:25 -0700 Subject: [PATCH] Fix quotation of nerdctl_extra_flags (#8668) (#8685) Due to missing quotation of nerdctl_extra_flags, ansible-playbook was failed: Using module file /usr/local/lib/python3.6/dist-packages/ansible/modules/command.py Pipelining is enabled. [..] File "/usr/lib/python3.8/shlex.py", line 191, in read_token raise ValueError("No closing quotation") This fixes the issue. T-Eberle investigated the issue and found the solution. Thank you T-Eberle! --- roles/download/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 8dc499f2d..f36af62cc 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -65,7 +65,7 @@ image_info_command_on_localhost: "{{ lookup('vars', image_command_tool_on_localh image_arch: "{{host_architecture | default('amd64')}}" # Nerdctl insecure flag set -nerdctl_extra_flags: '{%- if containerd_insecure_registries is defined and containerd_insecure_registries|length>0 -%}\" --insecure-registry"{%- else -%}{%- endif -%}' +nerdctl_extra_flags: '{%- if containerd_insecure_registries is defined and containerd_insecure_registries|length>0 -%}\" --insecure-registry\"{%- else -%}{%- endif -%}' # Versions kubeadm_version: "{{ kube_version }}"