Islandora-Devops.karaf
Ansible Role: Apache Karaf
This Ansible role installs Karaf in a Tomcat 8 servlet container. It works on:
- Centos/RHEL 7.x
- Ubuntu Xenial
Role Variables
Here are the available variables you can customize, along with their default values:
Version to install:
karaf_version: 4.0.8
Directory to download Karaf:
karaf_staging_folder: /usr/local/src
Directory to install Karaf:
karaf_install_folder: /opt
Symlink location for Karaf:
karaf_install_symlink: /opt/karaf
User to run Karaf:
karaf_user: karaf
Create the user or not:
karaf_create_user: yes
Name of the Karaf service:
karaf_service_name: karaf
Karaf log levels:
karaf_log_root_level: INFO karaf_log_camel_level: DEBUG karaf_log_islandora_level: DEBUG
Directory for log files:
karaf_log_path: ${karaf.data}/log/
Logging configuration template:
karaf_logging_template: org.ops4j.pax.logging.cfg
Java home directory:
karaf_java_home: /usr/lib/jvm/java-8-openjdk-amd64
Java packages needed for installation:
karaf_java_packages: - openjdk-8-jre - openjdk-8-jdk
Karaf service file template:
karaf_systemd_template: karaf.service
Dependencies
- Java 8
Example Playbook
This is a sample playbook to use the role:
- hosts: webservers
roles:
- { role: islandora.karaf }
License
MIT