On 2/19/19 9:56 PM, Kai Stian Olstad wrote:
> On 19.02.2019 21:31, Michael Ströder wrote:
>> Is there a simple example module how to implement an ansible
>> (connection) plugin for looking up an IP address for establishing
>> the SSH connection?>
> It probably easier to create[1] you own inventory plugin[2] so you
> can populate the ansible_host with the IP.
Yes, you're right. I have this working now after I figured out to set
'inventory_plugins' in ansible.cfg and some other details.
Thank you.
Ciao, Michael.