HI!
Is there a simple example module how to implement an ansible (connection) plugin for looking up an IP address for establishing the SSH connection?
I have a deployment where no DNS entries are present prior to initial host configuration, but I can access another (LDAP) database to query the IP address by inventory_hostname.
Not sure whether I need a full-blown connection plugin [1] for this.
Ciao, Michael.
[1] https://docs.ansible.com/ansible/latest/plugins/connection.html