Varnish Cache, the high-performance HTTP accelerator.
varnish_user
: (string) - User to run varnish asvarnish_group
: (string) - Group to run varnish asvarnish_runtime_root
(string) - Directory for runtime datavarnish_pidfile_path
(string) - Path for pidfilevarnish_default_backend_host
(string) - Default address for backendvarnish_default_backend_port
(integer) - Default port for backendvarnish_default_backend_ttl
(integer) - Default cache validity for backendsvarnish_accepts_external_connections
(boolean) - Bind to 0.0.0.0varnish_listen_port
(integer) - Port to listen onvarnish_admin_address
(string) - Address for admin interfacevarnish_admin_port
(string) - Port for admin interfacevarnish_using_vcl
(boolean) - Use included VCL?varnish_vcl_path
(string) - Path to VCL filevarnish_secret_path
(string) - Path to secret filevarnish_storage_type
(string) - Storage method to use?varnish_storage_path
(string) - Path to storage filevarnish_storage_size
(string) - Size of storagevarnish_backend_hosts
(list) - Backend hostsvarnish_backend_port
(integer) - Port for backend hostsvarnish_backend_response_ttl
(string) - Cache duration for backend responsesvarnish_health_checks_enabled
(boolean) - Enable health checks?varnish_health_check_url
(string) - Context path to use for health checks?varnish_health_check_interval
(string) - How often to check backend health?varnish_health_check_timeout
(string) - Assume a backend is dead if it responds slower than thisvarnish_health_check_window
(integer) - How many health checks to considervarnish_health_check_threshold
(integer) - At least this many checks must pass.varnish_grace_period
(string) - How long can an object be served from cache if no backend is available?varnish_performance_tuning_enabled
(boolean) - Aggressive performance tuning. Assumes server is dedicated to varnish.varnish_thread_pools
(integer) - Number of thread poolsvarnish_thread_pool_add_delay
(string) - Artificial delay before spawning threads.varnish_thread_pool_min
(integer) - Minimum threads per poolvarnish_thread_pool_max
(integer) - Maximum threads per poolvarnish_cli_timeout
(string) - Timeout for responses from CLI requestsvarnish_lru_interval
(string) - Interval for updating the LRU listvarnish_timeout_linger
(string) - Keep threads around for this long after they time outvarnish_connect_timeout
(string) - Time to wait for a backend connectionvarnish_diagnostic_headers_enabled
(boolean) - Enable diagnostic headers?varnish_diagnostic_headers_forwarded_for
(boolean) - EnabledX-Forwarded-For
headers?varnish_diagnostic_headers_cache
(boolean) - EnableX-Cache-Hit
headers?varnish_diagnostic_headers_cacheable
(boolean) - EnableX-Cacheable
headers?varnish_diagnostic_headers_passthrough_reason
(boolean) - EnableX-Passthrough-Reason
headers?varnish_request_sanitization_enabled
(boolean) - Enable request sanitization?varnish_header_sanitization_enabled
(string) - Enable header sanitization?varnish_header_sanitization_discard_host_port
(boolean) - Discard host port from requests?varnish_header_sanitization_normalize_accept_encoding
(boolean) - NormalizeAccept-Encoding
headers to improve cache hit rates?varnish_cookie_sanitization_enabled
(string) - Sanitize cookies to improve cache hit rates?varnish_cookie_sanitization_discard_from_client
(boolean) - Discard cookies from client?varnish_cookie_sanitization_discard_from_server
(boolean) - Discard cookies from server?varnish_cookie_sanitization_blacklist
(list) - Cookies to removevarnish_uri_sanitization_enabled
(string) - Sanitize URIs to improve cache hit ratesvarnish_uri_sanitization_regexp
(string) - Regexp to match for URI sanitizationvarnish_uri_blacklist_enabled
(boolean) - Don't cache certain pathsvarnish_uri_blacklist_regexp
(string) - Regexp for paths not to cachevarnish_workaround_telusdotcom_browser_profile
(boolean) - Specific workaround you probably don't need.
- hosts: servers
roles:
- role: telusdigital.varnish
- Chris Olstrom | e-mail | Twitter
- Aaron Pederson
- Steven Harradine