From 583583942c0a8f170cfa5b17a461a045af4d8c4f Mon Sep 17 00:00:00 2001 From: Olivier Boudry <79530946+oboudry-mvp@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:54:27 +0200 Subject: [PATCH] Fix Flatcar bug #11268 missing default value for ansible_interpreter_python_fallback variable (#11270) --- roles/bootstrap-os/tasks/flatcar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bootstrap-os/tasks/flatcar.yml b/roles/bootstrap-os/tasks/flatcar.yml index be74150a0..f330e0b62 100644 --- a/roles/bootstrap-os/tasks/flatcar.yml +++ b/roles/bootstrap-os/tasks/flatcar.yml @@ -23,7 +23,7 @@ - name: Make interpreter discovery works on Flatcar set_fact: - ansible_interpreter_python_fallback: "{{ ansible_interpreter_python_fallback + [ '/opt/bin/python' ] }}" + ansible_interpreter_python_fallback: "{{ (ansible_interpreter_python_fallback | default([])) + [ '/opt/bin/python' ] }}" - name: Disable auto-upgrade systemd_service: