Remove epel-release / python-pip from role

These are dependencies our role requires. As such, they should be
installed by the user.

Change-Id: I890cfce79d1d386cfccc33a2e01e35800833c7de
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-09-03 22:32:17 -04:00
parent 1c1dfefb0c
commit 96c22991b1
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
5 changed files with 6 additions and 10 deletions

View File

@ -20,6 +20,8 @@ auditing easier.
Requirements Requirements
------------ ------------
See `bindep.txt` for role dependencies.
Packages Packages
~~~~~~~~ ~~~~~~~~

View File

@ -0,0 +1,4 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
python-pip

View File

@ -17,14 +17,6 @@
jenkins_job_builder_build_depends: "{{ __jenkins_job_builder_build_depends | list }}" jenkins_job_builder_build_depends: "{{ __jenkins_job_builder_build_depends | list }}"
when: jenkins_job_builder_build_depends is not defined when: jenkins_job_builder_build_depends is not defined
# NOTE(pabelanger): This needs to be here for now, since we need python-pip.
- name: Ensure EPEL is enabled.
package:
name: epel-release
state: installed
when: (jenkins_job_builder_install_method == 'git' or jenkins_job_builder_install_method == 'pip') and
ansible_os_family == 'RedHat'
- name: Ensure build dependencies are installed. - name: Ensure build dependencies are installed.
package: package:
name: "{{ item }}" name: "{{ item }}"

View File

@ -28,4 +28,3 @@
__jenkins_job_builder_build_depends: __jenkins_job_builder_build_depends:
- git - git
- python-dev - python-dev
- python-pip

View File

@ -15,4 +15,3 @@
__jenkins_job_builder_build_depends: __jenkins_job_builder_build_depends:
- git - git
- python-devel - python-devel
- python-pip