From ac466c93cb02d086fd04531de3ddb713e7b5551a Mon Sep 17 00:00:00 2001 From: Yussuf Shaikh Date: Thu, 6 Aug 2020 09:24:32 +0000 Subject: [PATCH] Ensure python/devel is present before install openshift via pip Fixes #40 Signed-off-by: Yussuf Shaikh --- playbooks/roles/ocp-customization/tasks/main.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/roles/ocp-customization/tasks/main.yaml b/playbooks/roles/ocp-customization/tasks/main.yaml index 9d63d238..a3b18195 100644 --- a/playbooks/roles/ocp-customization/tasks/main.yaml +++ b/playbooks/roles/ocp-customization/tasks/main.yaml @@ -1,4 +1,12 @@ # tasks file for ocp4 post install customizations + +- name: Install python devel + package: + name: + - python3 + - python3-devel + state: present + - name: Install openshift python module pip: executable: pip3