Aplyca.Accelerator
Ansible Role: Accelerator
Ansible Role that installs and configure a web accelerator based on Varnish on Debian/Ubuntu.
Requirements
Use hash behavior for variables in ansible.cfg See example: https://github.com/Aplyca/ansible-role-accelerator/blob/master/tests/ansible.cfg See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour
Installation
Using ansible galaxy:
ansible-galaxy install aplyca.Accelerator
You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:
dependencies:
- { role: mauricios.Varnish }
Role Variables
See default variables: https://github.com/Aplyca/ansible-role-accelerator/blob/master/defaults/main.yml
Dependencies
Aplyca.Nginx Aplyca.Varnish
Testing
Using Vagrant:
tests/vagrant.sh
Using Docker:
tests/docker.sh
You should see an Apache server on http://localhost:8080
License
MIT / BSD
Author Information
Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)
