Closed richm closed 2 years ago
I'm using timeout: 300
since that's the default timeout for wait_for
https://docs.ansible.com/ansible/2.9/modules/wait_for_module.html#wait-for-module and I didn't want to change the existing timeout in the role.
[citest pending]
The check using
wait_for
to check the ssh port does not work reliably with qemu based testing, because the IP address inside the VM is not always resolvable externally, and the port number is different from22
as well. Instead, use thewait_for_connection
module which explicitly tests that Ansible can connection to the host using its transport mechanism, which I think is what this check is trying to do.