Ansible broken on Debian
First there are DIFFERNT verisons of netcat nc out there that have different outputs
This script is geared towards netcat-openbsd output
Connection to xx.xxx.xx.xx 5432 port [tcp/postgresql] succeeded!
netcat and netcat-traditional packages output is
HOST.NAME.COM [xxx.xxx.xxx.xxx] 6379 (?) open
This breaks the check for open ports
There where 2 dependencies missing that should be installed.
netcat-openbsd
lsof