diff --git a/CHANGELOG.md b/CHANGELOG.md index b59cd74f..ff874a20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ The **patch** part changes incrementally at each release. * php: By default, allow 128M for OpCache (instead of 64M) * squid: Remove wait time when we turn off squid * squid: split systemd tasks into own file +* varnish: remove custom ExecReload= script for Debian 10+ ### Fixed * lxc-php: Don't remove the default pool diff --git a/varnish/tasks/main.yml b/varnish/tasks/main.yml index 72884655..23dc2ee1 100644 --- a/varnish/tasks/main.yml +++ b/varnish/tasks/main.yml @@ -18,13 +18,14 @@ tags: - varnish -- name: Copy Custom Varnish ExecReload script +- name: Copy Custom Varnish ExecReload script (Debian <=9) copy: src: "reload-vcl.sh" dest: "/etc/varnish/reload-vcl.sh" mode: "0700" owner: root group: root + when: ansible_distribution_major_version | version_compare('9', '<=') notify: reload varnish tags: - varnish