Remove epel-release / python-pip from role

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

Change-Id: I6039ac5e8483084c08fb98adc0ae855af35da0e4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-09-03 22:28:22 -04:00
parent 3d595ea489
commit 335f22c6ac
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
5 changed files with 6 additions and 10 deletions

View File

@ -18,6 +18,8 @@ ramdisk images.
Requirements
------------
See `bindep.txt` for role dependencies.
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

@ -27,14 +27,6 @@
diskimage_builder_package_name: "{{ __diskimage_builder_package_name }}"
when: diskimage_builder_package_name 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: (diskimage_builder_install_method == 'git' or diskimage_builder_install_method == 'pip') and
ansible_os_family == 'RedHat'
- name: Ensure build dependencies are installed.
package:
name: "{{ item }}"

View File

@ -14,7 +14,6 @@
---
__diskimage_builder_build_depends:
- git
- python-pip
__diskimage_builder_depends:
- debootstrap

View File

@ -14,7 +14,6 @@
---
__diskimage_builder_build_depends:
- git
- python-pip
__diskimage_builder_depends:
- debootstrap