From 6cc64cbff1213f5e3d6579b4c7362cb0af65b5cb Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 24 Nov 2019 23:15:51 +0000 Subject: [PATCH] virt-instance-create: The variable should be a variable too. Signed-off-by: Kevin Fenzi --- tasks/virt_instance_create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index 8d921eaff9..c698770084 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -5,7 +5,7 @@ - name: get vm list vars: - ansible_python_interpreter: hostvars[vmhost]['ansible_python_interpreter'] + ansible_python_interpreter: "{{ hostvars[vmhost]['ansible_python_interpreter'] }}" delegate_to: "{{ vmhost }}" virt: command=list_vms register: result