Merge "Flush memcached on first listen IP only"
This commit is contained in:
@@ -20,4 +20,4 @@
|
||||
tasks:
|
||||
- name: Flush all of the cache in memcached
|
||||
shell: |
|
||||
echo 'flush_all' | nc $(awk '/\-l/ {print $2}' /etc/memcached.conf) $(awk '/\-p/ {print $2}' /etc/memcached.conf)
|
||||
echo 'flush_all' | nc $(awk '/\-l/ {print $2}' /etc/memcached.conf | awk -F, '{ print $1 }') $(awk '/\-p/ {print $2}' /etc/memcached.conf)
|
||||
|
||||
Reference in New Issue
Block a user