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.8Directory to download Karaf:
karaf_staging_folder: /usr/local/srcDirectory to install Karaf:
karaf_install_folder: /optSymlink location for Karaf:
karaf_install_symlink: /opt/karafUser to run Karaf:
karaf_user: karafCreate the user or not:
karaf_create_user: yesName of the Karaf service:
karaf_service_name: karafKaraf log levels:
karaf_log_root_level: INFO karaf_log_camel_level: DEBUG karaf_log_islandora_level: DEBUGDirectory for log files:
karaf_log_path: ${karaf.data}/log/Logging configuration template:
karaf_logging_template: org.ops4j.pax.logging.cfgJava home directory:
karaf_java_home: /usr/lib/jvm/java-8-openjdk-amd64Java packages needed for installation:
karaf_java_packages: - openjdk-8-jre - openjdk-8-jdkKaraf 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
