Browse Source

varnish: change template name for better readability

pull/119/head
Jérémy Lecour 3 months ago
committed by Jérémy Lecour
parent
commit
0f5ce44186
2 changed files with 8 additions and 4 deletions
  1. +8
    -4
      varnish/tasks/main.yml
  2. +0
    -0
      varnish/templates/varnish.vcl.j2

+ 8
- 4
varnish/tasks/main.yml View File

@ -66,10 +66,14 @@
mode: "0644"
force: yes
with_first_found:
- "templates/varnish/default.{{ inventory_hostname }}.vcl.j2"
- "templates/varnish/default.{{ host_group }}.vcl.j2"
- "templates/varnish/default.default.vcl.j2"
- "default.vcl.j2"
- "templates/varnish/varnish.{{ inventory_hostname }}.vcl.j2"
- "templates/varnish/default.{{ inventory_hostname }}.vcl.j2"
- "templates/varnish/varnish.{{ host_group }}.vcl.j2"
- "templates/varnish/default.{{ host_group }}.vcl.j2"
- "templates/varnish/varnish.default.vcl.j2"
- "templates/varnish/default.default.vcl.j2"
- "varnish.vcl.j2"
- "default.vcl.j2"
notify: reload varnish
tags:
- varnish


varnish/templates/default.vcl.j2 → varnish/templates/varnish.vcl.j2 View File


Loading…
Cancel
Save