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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1e7b0a62-ae25-4a6e-8381-4d14fcc9c70f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to