- 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): 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"

Fix syntax error with when statement for build-wheel-mirror
Fix syntax error with when statement for build-wheel-mirror

Doesn't look like --syntax-check or linters caught this.  Update to be
more correct.

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