From 78ac8fc6f40f70f9009212563f6d7445bb52484c Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 18 Jun 2025 10:02:52 +0000 Subject: [PATCH] Use more generic way to set python interpreter --- group_vars/openbsd.yml | 3 --- group_vars/rocky8.yml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/group_vars/openbsd.yml b/group_vars/openbsd.yml index 5eb5d31..107ec1e 100644 --- a/group_vars/openbsd.yml +++ b/group_vars/openbsd.yml @@ -1,7 +1,4 @@ --- -# fix python path errors -ansible_python_interpreter: "/usr/local/bin/python3" - # we have real wheel group ansible_wheel: wheel diff --git a/group_vars/rocky8.yml b/group_vars/rocky8.yml index 6ff4236..6fd253f 100644 --- a/group_vars/rocky8.yml +++ b/group_vars/rocky8.yml @@ -4,6 +4,9 @@ dsk_size: 20 mem_size: 2048 num_cpus: 2 +# el8 hosts have different python +ansible_python_interpreter: /usr/libexec/platform-python + # extra args for virt-install ks_file: "{{ boot_url }}/ks/rocky8.ks" ipcmd: >-