On Thursday, 22 February 2018 22.26.38 CET marcalfa1 wrote:
> I have a firewall with about 50 rules and constantly growing. Is there a 
> way I can create a playbook to test whether a source host can connect to a 
> destination host on a specific port?
> If that is possible I can create a playbook similar to my firewall rules so 
> next time we make a change to the firewall, I can quickly validate all the 
> rules using my ansible playbook.
> Currently, my environment is  Windows and Linux and telnet client is 
> installed/enabled on every host. 

Check out the wait_for module

Kai Stian Olstad

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to