19 lines
582 B
YAML
19 lines
582 B
YAML
---
|
|
- name: Tomcat deployment playbook
|
|
hosts: web # 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:
|
|
ui_manager_user: manager # User who can access the UI ma>
|
|
ui_manager_pass: root # UI manager user password
|
|
ui_admin_username: admin # User who can access bpth mana>
|
|
ui_admin_pass: root # UI admin password
|
|
roles:
|
|
- init
|
|
- tomcat
|
|
- db
|
|
- dbdump
|
|
|
|
|