varnish

revenni.varnish

Ansible role providing standalone varnish deployment

Platforms Licence

Requirements

  • None

Role Variables

Generic variables (declared in defaults/main.yml + overridden in vars/main.yml)

  • varnish_port (80) - port varnish should bind to
  • varnish_mgmt_port (6082) - port varnish mgmt should bind to
  • varnish_mgmt_addr (localhost) - bind address for varnish mgmt
  • varnish_cache_size (2g) - size of cache
  • varnish_vcl_file (/etc/varnish/default.vcl) - path to varnish vcl
  • varnish_secret_file (/etc/varnish/secret) - path to varnish secret
  • varnish_secret (bigsecret) - secret for varnish

Dependencies

  • None

Example Playbook

- hosts: caches
  become: true
  roles:
     - { role: revenni.varnish, tags: varnish }

License

MIT

Author Information

Install
ansible-galaxy install Revenni/varnish
GitHub repository
License
mit
Downloads
26
Owner
Revenni is a Toronto based consulting firm specializing in open source Infrastructure as Code, System Administration / DevOps, and Remediation services.