Add playbook to clear varnish
This commit is contained in:
parent
681a9273e4
commit
61034c3ccf
1 changed files with 8 additions and 0 deletions
8
playbooks/clear_varnish.yml
Normal file
8
playbooks/clear_varnish.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- name: clear varnish cache
|
||||
hosts: proxies
|
||||
user: root
|
||||
serial: 1
|
||||
|
||||
tasks:
|
||||
- name: clear varnish
|
||||
command: varnishadm -T 127.0.0.1:6082 url.purge .
|
Loading…
Add table
Add a link
Reference in a new issue