09da196701
All of these invocations of the bindep role are passing what amount to the defaults. In zuul-jobs, doing bindep_dir: "{{ zuul_work_dir }}" is important because it allows in-repo uses of those jobs to override how they work for things like triggering from one repo but running on another. The publication jobs in project-config do not need that level of flexibility, so just remove params and let defaults take over. As a follow up, we could also add defaults for zuul_work_dir - and honestly for bindep_dir - to the base job. That way we can always count on them being set to a sane default value, and they're still overrideable in a job. Change-Id: I5bcda84aefa4726d0a904e8bc9698c21ca07f9a5
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
- hosts: all
|
|
roles:
|
|
- bindep
|
|
- legacy-install-afs-with-puppet
|
|
- legacy-copy-project-config-scripts
|
|
|
|
pre_tasks:
|
|
# NOTE(pabelanger): Needed by puppet-openafs package.
|
|
- name: Add OpenAFS OpenStack CI build
|
|
become: yes
|
|
yum_repository:
|
|
name: openafs
|
|
description: OpenAFS OpenStack CI build
|
|
baseurl: https://tarballs.openstack.org/project-config/package-afs-centos7
|
|
gpgcheck: no
|
|
when: ansible_distribution == "CentOS"
|
|
|
|
# NOTE(pabelanger): Manually install EPEL dependencies as not to keep EPEL
|
|
# enabled.
|
|
- name: Manually install EPEL dependencies
|
|
become: yes
|
|
yum:
|
|
name: "{{ item }}"
|
|
enablerepo: epel
|
|
state: present
|
|
when: ansible_distribution == "CentOS"
|
|
with_items:
|
|
- dkms
|
|
- kstart
|
|
- parallel
|
|
|
|
# NOTE(pabelanger): We need to install extra liberies, such as:
|
|
# liberasurecode-devel
|
|
- name: Add centos-release-openstack-pike support
|
|
become: yes
|
|
when: ansible_distribution == "CentOS"
|
|
yum:
|
|
name: centos-release-openstack-pike
|
|
state: present
|