geerlingguy / ansible-role-varnish

Ansible Role - Varnish HTTP accelerator
https://galaxy.ansible.com/geerlingguy/varnish/
MIT License
81 stars 89 forks source link

Config file of Varnish service (varnish.service) don't use role variables for storage #34

Closed csegarra closed 8 years ago

csegarra commented 8 years ago

The template file for varnish.service has the storage config hardcoded.

-ExecStart=/usr/sbin/varnishd -a :{{ varnish_listen_port }} -T {{ varnish_admin_listen_host }}:{{ varnish_admin_listen_port }} -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m

So, it always use malloc and 256 Mb.

The path of default.vcl and secret are hardcoded two.