From 60a02a8c7ee36c8f5767d9717bfeb21e0592988f Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Wed, 2 Oct 2024 12:46:15 +0200 Subject: [PATCH] Fix ansible_python variable missing This should fix the `'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_python'` error when trying to run buildvm.yml playbook with ppc64le builder. Signed-off-by: Michal Konecny --- inventory/group_vars/buildvm_ppc64le | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inventory/group_vars/buildvm_ppc64le b/inventory/group_vars/buildvm_ppc64le index 28aadea18c..34b56c202d 100644 --- a/inventory/group_vars/buildvm_ppc64le +++ b/inventory/group_vars/buildvm_ppc64le @@ -33,3 +33,6 @@ mem_size: 20480 num_cpus: 8 virt_install_command: "{{ virt_install_command_ppc64le_one_nic_unsafe }}" volgroup: /dev/vg_guests + +# ansible variables +ansible_python_interpreter: /usr/bin/python3