WordPress on LEMP with Redis
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
group_vars/wordpress
roles
uploads/2018/06
.gitignore
.gitmodules
.travis.yml
Dockerfile.centos-7
LICENSE
README.md
Vagrantfile
config.rb
decrypt_test.sh
decryptv.sh
dns.yml
encrypt_test.sh
encryptv.sh
hosts
requirements.yml
test.yml
vault_test.txt
wordpress.yml
wordpress_bu.yml

README.md

CentOS 7 OpenResty NGINX Wordpress with Redis and CloudFlare

Installs and configures Firewalld, Fail2ban, OpenResty Nginx, MariaDB, PHP 7.1, Redis, and the latest version of WordPress.

Configuration file: group_vars/all.yml. Use all.example as a documented example.

The ansible-role-ipv6 role is only necessary if your host supports IPv6 but does not provide an image that supports it out of the box without custom configuration. To use this role you need to specify the ipv6 address and gateway as a host_vars variable. DigitalOcean supports IPv6 out of the box, while OVH's Cloud and OpenStack require it to be enabled manually.

The ansible-role-cloudflare [DEPRECIATED] role is called from dns.yml and it can be used to automatically configure DNS records for an existing zone using CloudFlare's API.

Playbooks

wordpress.yml: Installs and configures Wordpress

wordpress_bu.yml: Backs up WordPress database via Email as well as locally. Also backs up uploads locally.

dns.yml: [DEPRECIATED] Sets up DNS records using CloudFlare API

Requires

A VPS host or Cloud Service Provider (CSP) that supports IPv6.

At least 2 GB of memory.

A CloudFlare account with a domain configured.

Build Status

wordpress.yml and cv.yml playbooks Build Status

ansible-role-wordpress Build Status

ansible-role-fail2ban-firewalld Build Status

ansible-role-mariadb Build Status

ansible-role-php-fpm Build Status

ansible-role-openresty Build Status

ansible-role-redis Build Status

ansible-role-updates Build Status

ansible-role-ipv6 Build Status

ansible-role-selinux Build Status

References