Skip to content

HauptJ/Ansible-WordPress-CloudFlare

Repository files navigation

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

About

WordPress on LEMP with Redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published