DevOps Classroom Series – 16/May/2021

Configuring Tomcat using Ansible

  • Manual Steps from Refer Here
  • written the Ansible play till extracting the downloaded tomcat tar file
  • Refer Here for the change set
  • To un tar the file we have used the Linux command directly Refer Here for the change set
  • We are able to install tomcat 9 with open-jdk-11 but there are areas of improvement
    • Copying the configuration files with static values might not be right approach

To fix the above improvement lets start working with Jinja Templates

  • For official documentation Refer Here
  • Implemented the jinja filters in the templates
  • For the complete tomcat9 for ubuntu playbook Refer Here

Next Steps:

  • How to make the ansible playbooks reusable?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin