Install Tomcat 8 on Ubuntu >= 16.04 from archive with systemd
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.
tomcat_java_home
The path to your java installation. This variable is required in the systemd service file.
A running Java installation like open-jdk-8.
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 }
This roles uses Molecule to test. You can run the tests like this:
molecule test
MIT / BSD