Split out java install for jenkins so it doesn't blow up on rhel7 builder.
This commit is contained in:
parent
6025f90dee
commit
04c4f190e8
1 changed files with 8 additions and 1 deletions
|
@ -45,7 +45,6 @@
|
||||||
- vim
|
- vim
|
||||||
- dejavu-s\*
|
- dejavu-s\*
|
||||||
- fontconfig
|
- fontconfig
|
||||||
- java-1.8.0-openjdk
|
|
||||||
- httpd
|
- httpd
|
||||||
- openssh-clients
|
- openssh-clients
|
||||||
- git
|
- git
|
||||||
|
@ -53,6 +52,14 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- 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
|
- name: add jenkins proxy config file for apache
|
||||||
action: copy src="{{ files }}/jenkins/master/jenkins-apache.conf"
|
action: copy src="{{ files }}/jenkins/master/jenkins-apache.conf"
|
||||||
dest=/etc/httpd/conf.d/jenkins-apache.conf
|
dest=/etc/httpd/conf.d/jenkins-apache.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue