Jinja2 Templates
- Ansible supports jinja2 templates for making files dynamic with template module
- configuring users.xml Refer Here for changes
- configuring context.xml Refer Here for changes
- Refer Here for service template
- Refer Here for creating a service file
-
Now navigate to tomcat
http://<nodeip>:8080
- Problem to solve: Every ansible-playbook execution is executing few tasks which ideally it should not

