ansible-role-zuul/tasks/install/redhat.yaml
Paul Belanger 57e5e1e055 Initial commit
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-10 16:50:05 -04:00

13 lines
424 B
YAML

---
# NOTE(pabelanger): This needs to be here for now, since we need python-pip.
- name: Ensure EPEL is enabled.
yum:
pkg: epel-release
state: installed
when: zuul_install_method == 'git' or zuul_install_method == 'pip'
- name: Ensure build dependencies are installed.
yum: "pkg={{ item }} state=installed"
with_items: zuul_build_depends
when: zuul_install_method == 'git' or zuul_install_method == 'pip'