diff --git a/tasks/openstack_update_hosts_file.yml b/tasks/openstack_update_hosts_file.yml index 08f36432..d9a805ea 100644 --- a/tasks/openstack_update_hosts_file.yml +++ b/tasks/openstack_update_hosts_file.yml @@ -20,6 +20,8 @@ mode: "0755" delegate_to: localhost run_once: true + vars: + ansible_python_interpreter: "/usr/bin/python" - name: Copy templated hosts file entries script template: