varnish: add variable varnish_update_config to disable configuration update
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
Ludovic Poujol 2023-02-28 15:24:01 +01:00
parent d366683acc
commit e896459d06
3 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* postfix: Add task for enable mailgraph on packmail
* apache: add tash for enable mailgraph on default vhost and index.html
* php: add variables php_version when sury is activated for each Debian version
* varnish: add variable varnish_update_config to disable configuration update
### Changed

View File

@ -17,6 +17,7 @@ varnish_jail: "unix,user=vcache"
varnish_additional_options: ""
varnish_config_file: /etc/varnish/default.vcl
varnish_update_config: True
varnish_secret_file: /etc/varnish/secret
varnish_tmp_dir: /var/tmp-vcache

View File

@ -137,6 +137,7 @@
dest: "{{ varnish_config_file }}"
mode: "0644"
force: yes
when: "{{ varnish_update_config }}"
loop: "{{ query('first_found', templates) }}"
vars:
templates: