- hosts: all
  roles:
    - role: bindep
      bindep_profile: test
      bindep_dir: "src/{{ zuul.project.canonical_name }}"
    - legacy-install-afs-with-puppet
    - legacy-copy-project-config-scripts

  pre_tasks:
    # NOTE(pabelanger): We should consider switching away from parallel so we
    # don't need to enable EPEL for centos 7.
    - name: Manually install parallel from EPEL
      become: yes
      yum:
        name: parallel
        enablerepo: epel
        state: present
      when: ansible_distribution == "CentOS"

- hosts: all
  roles:
    - role: bindep
      bindep_profile: test
      bindep_dir: "src/{{ zuul.project.canonical_name }}"
    - legacy-install-afs-with-puppet
    - legacy-copy-project-config-scripts

  pre_tasks:
    # 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

Add more EPEL packages for build-wheel-mirror centos-7 job
Add more EPEL packages for build-wheel-mirror centos-7 job

So we don't have to enable the EPEL repo.

Change-Id: I9243a1731700e75e60be439c1dd1cfb3e9efe29d
Signed-off-by: Paul Belanger <e7139c8e6c4ea75cc1c287ce081b2dc0f3ab39ec@redhat.com>
