Sometimes I just want to contact a random host (this host’s IP is ephemeral/discovered during the operation), and execute an adhoc module.
Is there a way to do this?
It seems Ansible always requires an inventory file, but editing the inventory file just to do an adhoc command on a host address that won’t exist afterwards is a bit unnecessary.