Getting error when trying to get 2 variables in vars_prompt

I am trying to get two variables in my vars_prompt, for username and password.

My playbook currently looks like this:

`

Actually just solved the problem myself. It seem the issue lied within the line of my playbook:

`
prompt: “Enter password for new user account {{ user_name }}”

`

My thought is that the {{ user_name }} variable cannot be referenced since the vars_prompt method has not finalized yet. Removing the reference of the user_name variable solved the issue for me.

Now my code looks as so, running as wished:

`