ci-workers: Variable overrides and process tweaks for CentOS 7

Part of #2510
This commit is contained in:
Jack Grigg 2017-08-09 23:41:48 +02:00
parent 2e839df328
commit bac53a2c1d
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
- name: Fetch pip installer
get_url:
url: https://bootstrap.pypa.io/get-pip.py
dest: /tmp/get-pip.py
- name: Install pip
command: "{{ ansible_python.executable }} /tmp/get-pip.py"

View File

@ -84,6 +84,10 @@
state: present
with_items: "{{ package_deps }}"
- name: Install pip [CentOS]
include: tasks/install-pip.yml
when: ansible_distribution == 'CentOS'
- name: Install required Python modules
pip:
name: "{{ item }}"

View File

@ -0,0 +1,13 @@
---
buildbot_deps: [] # Empty to remove python-pip
build_deps:
- bzip2
- gcc
- gcc-c++
- make
- patch
dist_deps:
- pkgconfig # Required until b556beda264308e040f8d88aca4f2f386a0183d9 is pulled in
- python-devel
- redhat-rpm-config
pip_bin_dir: /usr/bin