drupsible-varnish
drupsible-varnish
Installs and configures Varnish 6.0 for Debian (including systemd) and Ubuntu.
It allows for a customized VCL template, as well as complete fine-tuning of the Varnish server.
It also installs the newest vmods from source (0.15.0).
Read more comments at defaults/main.yml.
Requirements
This role can be used independently and does NOT require Drupsible to run.
Consider opening the firewall for incoming requests at the console port (default 6082) for trusted hosts.
Example Playbook
The default VCL is for Drupal, and it is usable right "out of the box".
You can provide your own VCL template, ie. creating
ansible/playbooks/templates/mycrazytemplate.vcl.j2
, you can use this role in a playbook as follows:
- role: drupsible.varnish
become: yes
varnish_template_name: 'mycrazytemplate'
tags: [ 'role::varnish' ]
License
GNU General Public License v3
Author Information
Mariano Barcia - https://github.com/mbarcia
Credits
Originally forked from https://github.com/zenoamaro/ansible-varnish
With Drupsible your team will be able to provision, import, integrate, deploy and maintain Drupal websites across complex infrastructures using a simple set of YAML configuration files.
ansible-galaxy install mbarcia/drupsible-varnish