feat(centos): epel only needed for py-pip

This commit is contained in:
N 2020-01-26 21:40:31 +00:00 committed by Imran Iqbal
parent 3f8b3b9181
commit a0dd96d663
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 5 additions and 2 deletions

View file

@ -27,8 +27,6 @@ RedHat:
- yum-plugin-versionlock - yum-plugin-versionlock
pips: pips:
required: required:
states:
- epel
pkgs: pkgs:
- gcc - gcc
- python-devel - python-devel

View file

@ -35,6 +35,11 @@ packages:
# will take care of getting it if needed. # will take care of getting it if needed.
- libpython2.7-dev - libpython2.7-dev
- python-pip - python-pip
states:
# if grains.os_family == 'RedHat'
# not required if installing python-pip
- epel
wanted: wanted:
- dxpy - dxpy
- attrs - attrs