5
Deploying WordPress
In the previous chapter, we built a playbook that installs and configures a basic LAMP stack. In this chapter, we will be building on top of the techniques we used there to create a playbook that installs a LEMP stack, which, as you might recall, replaces Apache with NGINX and then installs WordPress.
Once we finish this chapter, you should be able to do the following:
- Prepare our initial playbook
- Download and install the WordPress CLI
- Install and configure WordPress
- Log in to your WordPress installation
The chapter covers the following topics:
- Preinstallation tasks
- The stack_install role
- The stack_config role
- The wordpress role
- Running the WordPress playbook
Before we start, we should quickly cover what WordPress is; ...
Get Learn Ansible - Second Edition 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.