This commit is contained in:
Raphanaud
2021-12-13 11:38:08 +01:00
commit 74576e6f62
17 changed files with 267 additions and 0 deletions

15
ansible/tomcat-setup.yml Normal file
View File

@@ -0,0 +1,15 @@
---
- name: Tomcat deployment playbook
hosts: all # Inventory hosts group / server to act on
become: yes # If to escalate privilege
become_method: sudo # Set become method
remote_user: root # Update username for remote server
vars:
tomcat_ver: 10.0.14 # Tomcat version to install
ui_manager_user: manager # User who can access the UI manager section only
ui_manager_pass: root # UI manager user password
ui_admin_username: admin # User who can access bpth manager and admin UI sections
ui_admin_pass: root # UI admin password
roles:
- tomcat