angristan / ansible-varnish

Simple Ansible role for Varnish on Debian/Ubuntu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible role for Varnish

This is a simple role that will install Varnish on Debian/Ubuntu from the stock APT repo.

Sample playbook

---

- hosts: myhost
  roles:
    - name: varnish
      tags: varnish
  vars:
    varnish_version: "6.2"
    varnishncsa_x_forwarded_for_enabled: true # if varnish is behind a reverse proxy

About

Simple Ansible role for Varnish on Debian/Ubuntu

License:MIT License