I am still working on bootstrapping compute instances and exploring the boundary between where a provisioning service (e.g. Vagrant) stops and Ansible starts.

I prefer to run SSH on a non-standard port (2222) instead of 22. I could have Vagrant set up an instance with SSH running on port 2222, but I want to explore if I can still work with an initial SSH service on port 22.

If my provisioned compute instance starts out with SSH on port 22, is there a module that will test for the ability to connect on port 22 and if that fails, then register that fact so I do not run a bunch of steps in a playbook?

Thanks!

-- Randy


--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to