The stack-config role

The next role will configure the software stack we have just installed, so let's create the role:

$ ansible-galaxy init roles/stack-config

Now that we have the files needed for the role, we can make a start on planning what we need to configure. We will need to do the following:

  • Create a user for our WordPress to run under
  • Configure NGINX as per the best practices on the WordPress Codex
  • Configure PHP-FPM to run as the WordPress user
  • Do the initial configuration for SELinux

Let's start by creating the WordPress user.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.39.74