Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 207 Bytes
#!/bin/bash
if [ `curl https://{{ ansible_default_ipv4.address }}:6444 --insecure |grep kind |wc -l` -eq 0 ] ; then
exit 1 # just exit, MASTER will reduce weight(-25), so vip will move on BACKUP node
fi