]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix discovered_interpreter_python variable
authorfmount <fpantano@redhat.com>
Wed, 4 Sep 2019 07:56:10 +0000 (09:56 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 4 Sep 2019 13:55:30 +0000 (09:55 -0400)
This change fixes the discovered_interpreter_python variable
name that was "discovered_python_interpreter" and caused a
failure in OSP deployments.

Signed-off-by: fmount <fpantano@redhat.com>
roles/ceph-facts/tasks/facts.yml

index 86f9a21efe9039808fa988c5fdcd8add5e45c939..2e9b0021f63866ecda5c4901e1478330e1cbfc87 100644 (file)
     container_binary: "{{ 'podman' if (podman_binary.stat.exists and ansible_distribution == 'Fedora') or (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '8') else 'docker' }}"
 
 # In case ansible_python_interpreter is set by the user,
-# ansible will not discover python and discovered_python_interpreter
+# ansible will not discover python and discovered_interpreter_python
 # will not be set
-- name: set_fact discovered_python_interpreter
+- name: set_fact discovered_interpreter_python
   set_fact:
-    discovered_python_interpreter: ansible_python_interpreter
+    discovered_interpreter_python: "{{ ansible_python_interpreter }}"
   when: ansible_python_interpreter is defined
 
 # Set ceph_release to ceph_stable by default