Merge "Fix memcached flush if -l is in hostname"
This commit is contained in:
commit
e1015efa33
@ -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 -F, '{ print $1 }') $(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)
|
||||
|
Loading…
Reference in New Issue
Block a user