amtega.tomcat
Ansible Tomcat Role
This is an Ansible role that sets up a Tomcat application server.
Role Variables
You can find all the default variables for this role in defaults/main.yml
.
Example Playbook
Here is an example of a playbook:
---
- hosts: all
roles:
- role: amtega.tomcat
vars:
tomcat_name: server1
tomcat_version: 8.0.9
tomcat_home: /opt/apache-tomcat-8.0.9
tomcat_base: /srv/tomcat/server1
Testing
The tests use Molecule with Docker containers.
cd amtega.tomcat
molecule test --all
License
Copyright (C) 2022 AMTEGA - Xunta de Galicia
This role is free software: you can share it and/or change it under the terms of:
GNU General Public License version 3, or (if you prefer) any later version; or the European Union Public License, either Version 1.2 or any future versions approved by the European Commission.
This role is provided with the hope that it will be helpful, but WITHOUT ANY WARRANTY; not even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details, see the GNU General Public License or the European Union Public License.
Author Information
- Juan Antonio Valiño García.
- Partially based on daniel-rhoades.tomcat role.
- Partially based on groover.tomcat role.