diff --git a/tasks/nova_compute_key_distribute.yml b/tasks/nova_compute_key_distribute.yml index 0ef50126..bca5c643 100644 --- a/tasks/nova_compute_key_distribute.yml +++ b/tasks/nova_compute_key_distribute.yml @@ -29,6 +29,8 @@ dest: "/var/tmp/openstack-nova-key.sh" mode: "0755" delegate_to: localhost + vars: + ansible_python_interpreter: "/usr/bin/python" when: - inventory_hostname == first_available_compute tags: