Creating an application server role using Tomcat and Ansible
We have explored using Ansible to perform common tasks on a server, and to define selected servers as nginx
servers. This recipe will demonstrate using Ansible to install and configure a Java application server. For this recipe, we will be installing the venerable Tomcat server. Tomcat is a rock-solid open source container for Java apps, and is used in a huge array of organizations to host applications both small and large.
Currently, Ubuntu ships with a package for Tomcat 7. However, the Tomcat project is already at version 8, so we're going to look at how we can use Ansible to install Tomcat straight from the web.
Getting ready
For this recipe, you need an Ubuntu 14.04 server to act as ...
Get Learning DevOps: Continuously Deliver Better Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.