Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.04 KB

Ansible Role flxpeters.tomcat8

Build Status

Install Tomcat 8 on Ubuntu >= 16.04 from archive with systemd

Requirements

This role depends on existing Java installation. The java installation is not part of this role. You must define the JAVA_HOME in the tomcat_java_home variable.

Role Variables

tomcat_java_home The path to your java installation. This variable is required in the systemd service file.

Dependencies

A running Java installation like open-jdk-8.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: FlxPeters.tomcat8, tomcat_java_home: /path/to/java/jre }

Test

This roles uses Molecule to test. You can run the tests like this:

molecule test

License

MIT / BSD