From: Lorin Hochstein Date: Sat, 7 Feb 2015 23:40:41 +0000 (-0500) Subject: chapter 10 X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=bd6fb6a5a137703023ead2e53632cc5884e35c38;p=ansiblebook.git chapter 10 --- diff --git a/ch10/playbooks/files/can_reach.sh b/ch10/playbooks/files/can_reach.sh new file mode 100644 index 0000000..8608218 --- /dev/null +++ b/ch10/playbooks/files/can_reach.sh @@ -0,0 +1,6 @@ +#!/bin/bash +host=$1 +port=$2 +timeout=$3 + +nc -z -w $timeout $host $port