From 34b03d1873f6a5fba8baddbf61b08b50a224e555 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Mon, 4 Nov 2019 09:04:48 -0500 Subject: [PATCH] add-{mon,osd}: run raw install python tasks 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 --- infrastructure-playbooks/add-mon.yml | 2 ++ infrastructure-playbooks/add-osd.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/infrastructure-playbooks/add-mon.yml b/infrastructure-playbooks/add-mon.yml index fa499715f..3a6a76a23 100644 --- a/infrastructure-playbooks/add-mon.yml +++ b/infrastructure-playbooks/add-mon.yml @@ -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, []) diff --git a/infrastructure-playbooks/add-osd.yml b/infrastructure-playbooks/add-osd.yml index 109f00eac..83e627fcd 100644 --- a/infrastructure-playbooks/add-osd.yml +++ b/infrastructure-playbooks/add-osd.yml @@ -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