]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
add-{mon,osd}: run raw install python tasks
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 4 Nov 2019 14:04:48 +0000 (09:04 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Dec 2019 09:59:39 +0000 (10:59 +0100)
If the new mon/osd node doesn't have python installed then we need to
execute the tasks from raw_install_python.yml.

Closes: #4368
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 34b03d1873f6a5fba8baddbf61b08b50a224e555)

infrastructure-playbooks/add-mon.yml
infrastructure-playbooks/add-osd.yml

index fa499715ff7cd09d22bd19bcf979916f1d99971c..3a6a76a235fbd1c93b84d78a381b975b6b35e47a 100644 (file)
@@ -12,6 +12,8 @@
     delegate_facts_host: true
   become: true
   pre_tasks:
+    - import_tasks: "{{ playbook_dir }}/../raw_install_python.yml"
+
     - name: gather facts
       setup:
       when: not delegate_facts_host | bool or inventory_hostname in groups.get(client_group_name, [])
index 838785924ac1b466ad6029fb49a831758d5ca2bc..19aa6fc1561dc0f1e8acbe2854a4c62de1d31ac2 100644 (file)
@@ -26,6 +26,8 @@
     delegate_facts_host: True
 
   pre_tasks:
+    - import_tasks: "{{ playbook_dir }}/../raw_install_python.yml"
+
     - name: gather facts
       setup:
       when: not delegate_facts_host | bool