Skip to content

pihlajus/ansible-role-tomcat8

 
 

Repository files navigation

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

About

Install Tomcat 8 on Ubuntu >= 16.04 with systemd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published