Split out java install for jenkins so it doesn't blow up on rhel7 builder.

This commit is contained in:
Kevin Fenzi 2014-12-18 20:13:03 +00:00
parent 6025f90dee
commit 04c4f190e8

View file

@ -45,7 +45,6 @@
- vim
- dejavu-s\*
- fontconfig
- java-1.8.0-openjdk
- httpd
- openssh-clients
- git
@ -53,6 +52,14 @@
tags:
- packages
- name: install java-1.8.0 except on rhel7 for jenkins
action: yum state=present pkg={{ item }}
with_items:
- java-1.8.0-openjdk
tags:
- packages
when: ansible_distribution_major_version != '7'
- name: add jenkins proxy config file for apache
action: copy src="{{ files }}/jenkins/master/jenkins-apache.conf"
dest=/etc/httpd/conf.d/jenkins-apache.conf