remove reload-vcl.sh (Custom Varnish ExecReload script) when Debian >= 10
This commit is contained in:
parent
f09a405d84
commit
6fe86a76c5
|
@ -35,6 +35,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* php: By default, allow 128M for OpCache (instead of 64M)
|
* php: By default, allow 128M for OpCache (instead of 64M)
|
||||||
* squid: Remove wait time when we turn off squid
|
* squid: Remove wait time when we turn off squid
|
||||||
* squid: split systemd tasks into own file
|
* squid: split systemd tasks into own file
|
||||||
|
* varnish: remove custom ExecReload= script for Debian 10+
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* lxc-php: Don't remove the default pool
|
* lxc-php: Don't remove the default pool
|
||||||
|
|
|
@ -18,13 +18,14 @@
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
|
||||||
- name: Copy Custom Varnish ExecReload script
|
- name: Copy Custom Varnish ExecReload script (Debian <=9)
|
||||||
copy:
|
copy:
|
||||||
src: "reload-vcl.sh"
|
src: "reload-vcl.sh"
|
||||||
dest: "/etc/varnish/reload-vcl.sh"
|
dest: "/etc/varnish/reload-vcl.sh"
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
when: ansible_distribution_major_version | version_compare('9', '<=')
|
||||||
notify: reload varnish
|
notify: reload varnish
|
||||||
tags:
|
tags:
|
||||||
- varnish
|
- varnish
|
||||||
|
|
Loading…
Reference in a new issue