On Mon, 5 Jun 2023 11:53:44 +0200 (CEST)
dulhaver via Ansible Project <ansible-project@googlegroups.com> wrote:

> probably I did not make myself clear enough

No. Your statement can't be clearer: "to check whether postgres1 has
a connection via port 5432 to a specific IP address"
https://groups.google.com/g/ansible-project/c/dkR80nKr25Q/m/rVRrMlTbBAAJ

> >   - hosts: postgres1
> >     tasks:
> >       - wait_for:
> >           host: <specific IP address>
> >           port: 5432  
> 
> I guess this would check whether 'postgres1' can connect to
> <specific IP address>:5432. What I wanted to check ... whether
> *postgres1* would be ready to accept connections from <specific IP
> address>:5432


-- 
Vladimir Botka

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20230605130752.2165b095%40gmail.com.

Attachment: pgpYT9yQ2ElM3.pgp
Description: OpenPGP digital signature

Reply via email to