Tag Archives: ansible

Rackspace – Cloud Monitoring – Ansible plugins

Install the required packages (Ubunto/Centos):

Prepare the virtual environment

Download the playbook

Install the required plugin:

To UNINSTALL the monitoring, you need to delete the check, removing the related file from /etc/rackspace-monitoring-agent.conf.d/ and restart the Cloud Monitoring agent.

WordPress PHP-FPM and Apache (with variables)

Sample setup for Apache virtual host and PHP-FPM pool with variables instead hard coded user details.
This could be handy if your are scripting your deploy (e.g. with Ansible).

In our example we are using the following:

Domain: example.com
SFTP user: example.com
Document root: /var/www/vhosts/example.com/httpdocs/

Create a file called example.com.conf in /etc/php-fpm/pool/