varnish: add variable varnish_update_config to disable configuration update
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
d366683acc
commit
e896459d06
|
@ -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
|
* postfix: Add task for enable mailgraph on packmail
|
||||||
* apache: add tash for enable mailgraph on default vhost and index.html
|
* 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
|
* php: add variables php_version when sury is activated for each Debian version
|
||||||
|
* varnish: add variable varnish_update_config to disable configuration update
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ varnish_jail: "unix,user=vcache"
|
||||||
varnish_additional_options: ""
|
varnish_additional_options: ""
|
||||||
|
|
||||||
varnish_config_file: /etc/varnish/default.vcl
|
varnish_config_file: /etc/varnish/default.vcl
|
||||||
|
varnish_update_config: True
|
||||||
varnish_secret_file: /etc/varnish/secret
|
varnish_secret_file: /etc/varnish/secret
|
||||||
|
|
||||||
varnish_tmp_dir: /var/tmp-vcache
|
varnish_tmp_dir: /var/tmp-vcache
|
|
@ -137,6 +137,7 @@
|
||||||
dest: "{{ varnish_config_file }}"
|
dest: "{{ varnish_config_file }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: yes
|
force: yes
|
||||||
|
when: "{{ varnish_update_config }}"
|
||||||
loop: "{{ query('first_found', templates) }}"
|
loop: "{{ query('first_found', templates) }}"
|
||||||
vars:
|
vars:
|
||||||
templates:
|
templates:
|
||||||
|
|
Loading…
Reference in a new issue