Release 10.4.0 #121
|
@ -17,6 +17,7 @@
|
||||||
notify: reload varnish
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Copy Custom Varnish ExecReload script (Debian <10)
|
- name: Copy Custom Varnish ExecReload script (Debian <10)
|
||||||
template:
|
template:
|
||||||
|
@ -48,6 +49,8 @@
|
||||||
- restart varnish
|
- restart varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: Override Varnish systemd unit (Buster and later)
|
- name: Override Varnish systemd unit (Buster and later)
|
||||||
template:
|
template:
|
||||||
|
@ -60,17 +63,20 @@
|
||||||
- restart varnish
|
- restart varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: Patch logrotate conf
|
- name: Patch logrotate conf
|
||||||
replace:
|
replace:
|
||||||
name: /etc/logrotate.d/varnish
|
name: /etc/logrotate.d/varnish
|
||||||
regexp: '^(\s+)(/usr/sbin/invoke-rc.d {{item}}.*)'
|
regexp: '^(\s+)(/usr/sbin/invoke-rc.d {{item}}.*)'
|
||||||
replace: '\1systemctl -q is-active {{item}} && \2'
|
replace: '\1systemctl -q is-active {{item}} && \2'
|
||||||
with_items:
|
loop:
|
||||||
- varnishlog
|
- varnishlog
|
||||||
- varnishncsa
|
- varnishncsa
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- logrotate
|
||||||
|
|
||||||
- name: Copy Varnish configuration
|
- name: Copy Varnish configuration
|
||||||
template:
|
template:
|
||||||
|
@ -90,6 +96,8 @@
|
||||||
notify: reload varnish
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- name: Create Varnish config dir
|
- name: Create Varnish config dir
|
||||||
file:
|
file:
|
||||||
|
@ -98,6 +106,7 @@
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Copy included Varnish config
|
- name: Copy included Varnish config
|
||||||
template:
|
template:
|
||||||
|
@ -106,9 +115,11 @@
|
||||||
force: yes
|
force: yes
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "templates/varnish/conf.d/*.vcl"
|
- "templates/varnish/conf.d/*.vcl"
|
||||||
notify: reload varnish
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
- config
|
||||||
|
- update-config
|
||||||
|
|
||||||
- include: munin.yml
|
- include: munin.yml
|
||||||
|
|
Loading…
Reference in a new issue