title: How to prompt user for a target host in Ansible?
body: <p>I want to write a bootstrapper playbook for new machines in Ansible which will reconfigure the network settings. At the time of the first execution target machines will have DHCP-assigned address.</p>
  
  <p>The user who is supposed to execute the playbook knows the assigned IP address of a new machine. I would like to prompt the user for is value.</p>
  
  <p><code>vars_prompt</code> module allows getting input from the user, however it is defined under <code>hosts</code> section effectively preventing host address as the required value.</p>
  
  <p>Is it possible without using a wrapper script modifying inventory file?</p>