From 408faac3c9a6d8f9af0ae0c880e374be5f3f67f8 Mon Sep 17 00:00:00 2001 From: Tupin Laurent Date: Wed, 26 Sep 2018 09:28:54 +0200 Subject: [PATCH] Pip is required for vault #3376 (#3378) * Change execution order for pip * Remove spaces --- roles/bootstrap-os/tasks/bootstrap-centos.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/roles/bootstrap-os/tasks/bootstrap-centos.yml b/roles/bootstrap-os/tasks/bootstrap-centos.yml index a945dfb21..7d9d50885 100644 --- a/roles/bootstrap-os/tasks/bootstrap-centos.yml +++ b/roles/bootstrap-os/tasks/bootstrap-centos.yml @@ -16,5 +16,14 @@ - name: Install packages requirements for bootstrap yum: - name: libselinux-python + name: "{{ packages }}" + state: present + vars: + packages: + - libselinux-python + - epel-release + +- name: Install pip for bootstrap + yum: + name: python-pip state: present