Add el7 specific jenkins packages.
This commit is contained in:
parent
c75df0a992
commit
b56d6649d5
2 changed files with 12 additions and 2 deletions
|
@ -169,5 +169,6 @@ slave_packages_fedora:
|
||||||
slave_packages_centos:
|
slave_packages_centos:
|
||||||
# "setup" is just a placeholder value
|
# "setup" is just a placeholder value
|
||||||
- setup
|
- setup
|
||||||
# el7-only
|
# Packages only installed on el7 slave
|
||||||
# - python-webob1.4 # Required by bodhi2
|
el7-only:
|
||||||
|
- python-webob1.4 # Required by bodhi2
|
||||||
|
|
|
@ -43,6 +43,15 @@
|
||||||
- jenkins/slave
|
- jenkins/slave
|
||||||
- packages
|
- 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
|
- name: create jenkins user
|
||||||
action: user name=jenkins state=present createhome=yes system=no groups=mock
|
action: user name=jenkins state=present createhome=yes system=no groups=mock
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue