Fix Flatcar bug #11268 missing default value for ansible_interpreter_python_fallback variable (#11270)

This commit is contained in:
Olivier Boudry
2024-10-03 10:54:27 +02:00
committed by GitHub
parent b0563c20b0
commit 583583942c

View File

@@ -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: