Add el7 specific jenkins packages.

This commit is contained in:
Kevin Fenzi 2015-08-26 19:59:39 +00:00
parent c75df0a992
commit b56d6649d5
2 changed files with 12 additions and 2 deletions

View file

@ -169,5 +169,6 @@ slave_packages_fedora:
slave_packages_centos:
# "setup" is just a placeholder value
- setup
# el7-only
# - python-webob1.4 # Required by bodhi2
# Packages only installed on el7 slave
el7-only:
- python-webob1.4 # Required by bodhi2

View file

@ -43,6 +43,15 @@
- jenkins/slave
- packages
- name: install el7 specific slave packages
yum: name={{ item }} state=installed
with_items: "{{ el7_only }}"
when: ansible_distribution_major_version|int == 7
tags:
- jenkins
- jenkins/slave
- packages
- name: create jenkins user
action: user name=jenkins state=present createhome=yes system=no groups=mock
tags: