#!/usr/local/bin/execlineb -P # {{ ansible_managed }} s6-envdir ./env multisubstitute { importas -i -u NAME NAME } ifelse { redirfd -w 1 /dev/null fdmove -c 2 1 pipeline { echo quit } nc -U /var/run/haproxy.master } { foreground { fdmove -c 1 2 echo "${NAME}: Ready." } true } foreground { fdmove -c 1 2 echo "${NAME}: Poll." } false