Prompt question again. Thanks

Between my lack of Ansible mastery and its kind of syntax, rare is the day I don’t get stuck…

Either the syntax is not intuitive or I have no intuition.

I am trying to do something very simple and it seems very complicated in Ansible. I hope it just seems so.

I figure out what release to deploy in a play and then confirm the release is correct, if not all stops, if correct run with the wind…

So:

If I put vars_prompt between the tasks it gives an error. Where can the prompt go then? When is code position indicative of order of execution and when not?

vars_prompt goes on the play level, not the task level. It's not a
task and you don't have control over when the prompt happens. It will
ask you before the play starts to answer any questions in the prompt.

Just a helpful way to think about what can go in the task list: Is it
a module? (
http://docs.ansible.com/list_of_all_modules.html). If not, then it
can't be a task.

Good rule. Thanks

Look at the pause module for this functionality

Brian Coca

I could be wrong, but from my understanding the pause module won't
take input. It will give a prompt, but that just waits for enter to be
pressed right?

You can give input which is available through registered variables