/wordpress-ansible-playbook

Simple playbook for setting up WordPress with MariaDB, PHP FPM, nginx, and Memcache

Primary LanguagePHP

WordPress Ansible Playbook

  • Written for Ansible 2.5
  • Tested on Ubuntu 18.04

This playbook deploys an optimized setup for WordPress using MariaDB, nginx, PHP FPM, and Memcached.

Optional Roles

  • Backup - This role will backup your files and database to Amazon S3
  • Letsencrypt - This role is a work in progress. It setups LetsEncrypt for generating SSL certificates.
  • New Relic - This role sets up PHP and server apps within New Relic.
  • SFTP - This role creates a default SFTP user and sets it's home directory to be the web root.

Example Hosts file

hosts.example contains an example host. Just substitute your information, and you should be good to go.