diff --git a/tasks/ceph_auth_extra.yml b/tasks/ceph_auth_extra.yml index c6e68e3..5f9f5c7 100644 --- a/tasks/ceph_auth_extra.yml +++ b/tasks/ceph_auth_extra.yml @@ -31,6 +31,8 @@ - item.mon_host is defined - item.keyring_src is defined - item.client_name is defined + vars: + ansible_python_interpreter: "/usr/bin/python" - name: Secure extra keyring file permissions file: @@ -41,6 +43,8 @@ with_items: "{{ ceph_extra_confs }}" when: - item.keyring_src is defined + vars: + ansible_python_interpreter: "/usr/bin/python" - name: Remove temp extra keyring files file: diff --git a/tasks/ceph_auth_extra_compute.yml b/tasks/ceph_auth_extra_compute.yml index dc8a0c7..2ffdb3d 100644 --- a/tasks/ceph_auth_extra_compute.yml +++ b/tasks/ceph_auth_extra_compute.yml @@ -30,6 +30,8 @@ when: - item.mon_host is defined - item.client_name is defined + vars: + ansible_python_interpreter: "/usr/bin/python" - name: Distribute extra key files copy: @@ -165,5 +167,7 @@ state: "absent" delegate_to: localhost with_items: "{{ ceph_extra_confs }}" + vars: + ansible_python_interpreter: "/usr/bin/python" tags: - always diff --git a/tasks/ceph_config_extra.yml b/tasks/ceph_config_extra.yml index 3b3708c..9e2ab84 100644 --- a/tasks/ceph_config_extra.yml +++ b/tasks/ceph_config_extra.yml @@ -22,6 +22,8 @@ when: - item.mon_host is defined - item.src is defined + vars: + ansible_python_interpreter: "/usr/bin/python" - name: Create extra ceph.conf files copy: