On 11.01.17 22:36 Billy B wrote:
> How can I prompt for a simple variable will this work?
> I would like the justarandombame to be the variable which is
> imputed after a user prompt.
Not sure if I understand you right, but you can put this in your yml
file and call it with the variable set on the command line:
#### snip ###
---
- hosts: "{{ target }}"
...
#### snip ###
ansible-playbook your_file.yml -e 'target=justarandomname'
Johannes