0 votes
in Ansible by
How can you use the Ansible module “wait_for” to wait for a port to be open on a target machine?

a) By using the “host” and “port” parameters to specify the host and port to wait for

b) By using the “address” and “port” parameters to specify the host and port to wait for

c) By using the “hostname” and “port” parameters to specify the host and port to wait for

d) By using the “ip” and “port” parameters to specify the host and port to wait for

1 Answer

0 votes
by

Answer: a) By using the “host” and “port” parameters to specify the host and port to wait for

Explanation: The Ansible module “wait_for” can be used to wait for a port to be open on a target machine by using the “host” and “port” parameters to specify the host and port to wait for.

...