mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
Split out java install for jenkins so it doesn't blow up on rhel7 builder.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user