Is this the correct syntax for creating an ad-hoc, or on-the-fly inventory 
file from passed-in IP addresses? See the comma ( , ) before the end-quote 
of the inventory list?I I'm aware of inventory files and do use them. But 
I'm trying to write a script where the user enters an IP address to 
configure.

$ ansible-playbook -i "10.x.x.x," -e var_host=10.x.x.x my-playbook.com

Thanks


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/da027360-5119-42bd-91e0-99a18bad8238n%40googlegroups.com.

Reply via email to