]> git.apps.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>
Thu, 7 Nov 2019 13:04:26 +0000 (14:04 +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>
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 109f00eac1c9288fb27f0413ea51742aa4621e17..83e627fcd443d96c769bb8b0f61875cfcd11648f 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