Chapter 11. Systems Management Tasks with Ansible

This chapter focuses on using Ansible for multitier deployments. Specifically, the chapter presents an example of how to deploy a LAMP (Linux-Apache-MySQL-PHP) stack with Ansible.

Topics covered in this chapter include the following:

Web server deployment

The application tier

The database tier

Role structure optimization

VMware resource management

Web Server Deployment

There is not much work to be done for our web role because we did a good job of completing it in Chapter 10. To keep our code better organized, though, we will move the folder containing our web role to /etc/ansible/roles.

Note

Going forward, we will be placing all of our Ansible roles in the /etc/ansible/roles directory ...

Get DevOps for VMware Administrators 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.