Deploying WordPress

In the previous chapter, we worked on building a playbook that installs and configures a basic LAMP stack. In this chapter, we are going to be building on top of the techniques we used there in order to create a playbook that installs a LEMP stack and WordPress.

We will be covering the following topics:

  • Preparing our initial playbook
  • Downloading and installing the WordPress CLI
  • Installing and configuring WordPress
  • Logging in to your WordPress installation

Before we start, we should quickly cover what WordPress is. It is likely that at some point in the last 48 hours, you have visited a website that is powered by WordPress. It is an open source content management system (CMS) that is powered by PHP and MySQL and is used ...

Get Learn Ansible 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.