Skip to content

Commit

Permalink
freebsd: install OpenJDK 8 and configure it for Clouseau
Browse files Browse the repository at this point in the history
This is a follow-up for apache/couchdb #4835 [1].

[1] apache/couchdb#4835
  • Loading branch information
pgj committed Nov 19, 2023
1 parent 2534210 commit f6d544a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions freebsd/playbook/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
name: openjdk11-jre
state: present

- name: install OpenJDK 8
ansible.builtin.package:
name: openjdk8-jre
state: present

- name: install runit
ansible.builtin.package:
name: runit
Expand All @@ -75,6 +80,18 @@
name: jenkins
system: true

- name: configure OpenJDK 8 for Clouseau
block:
- name: configure csh
lineinfile:
path: /etc/csh.cshrc
line: setenv CLOUSEAU_JAVA_HOME /usr/local/openjdk8

- name: configure sh
lineinfile:
path: /etc/profile
line: export CLOUSEAU_JAVA_HOME=/usr/local/openjdk8

- name: set up runit - create service dir
file:
state: directory
Expand Down

0 comments on commit f6d544a

Please sign in to comment.