Add playbook to clear memcached
This commit is contained in:
parent
871807aaf8
commit
ab91d8ea3f
1 changed files with 7 additions and 0 deletions
7
playbooks/clear_memcached.yml
Normal file
7
playbooks/clear_memcached.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
- name: clear memcache
|
||||||
|
hosts: memcached
|
||||||
|
serial: 1
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: clear memcache
|
||||||
|
command: echo flush_all | nc localhost 11211
|
Loading…
Add table
Add a link
Reference in a new issue