From 6524d745d25cc9548cadb773b7c748297b67b7f5 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 2 Oct 2024 10:50:20 -0700 Subject: [PATCH] virt_instance_create: drop python3 handling We don't have any python2 using virthosts left (except one) so lets try dropping this special handling here and just let ansible sort out that it should use python3. Signed-off-by: Kevin Fenzi --- tasks/virt_instance_create.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 8c6d34198b..6973040f92 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -4,8 +4,6 @@ - include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README - name: get vm list - vars: - ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python']['executable'] }}" delegate_to: "{{ vmhost }}" virt: command=list_vms register: result