This role can be used to update a tomcat config, e. g. early in the startup process before the actual services runs.
Notice that it will not start the service and expects the program to be installed already.
The target machine must have tomcat installed.
There is one main variable that drives this role: _tomcat
. It is a map that contains all configuration and settings for this role.
Please see defaults file.
None
- hosts: servers
var:
TOMCAT:
...
roles:
- { role: update_tomcat_config, tags: [ 'tomcat' ], _tomcat: "{{ TOMCAT }}" }
Please see LICENSE.
Original author is Michael Schmitz as member of the Rheinwerk project.