# Ansible vars\_prompt

**URL:** <https://forum.ansible.com/t/ansible-vars-prompt/19324>\
**Category:** Ansible Project\
**Created:** [September 22, 2015, 6:30am UTC](https://forum.ansible.com/t/ansible-vars-prompt/19324 "2015-09-22T06:30:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Larsen](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Andreas\_Larsen](https://forum.ansible.com/u/Andreas_Larsen)\
**Post date:** [September 22, 2015, 6:30am UTC](https://forum.ansible.com/t/ansible-vars-prompt/19324/1 "2015-09-22T06:30:46Z")

</div>

I have a error I really can’t figure out why this is happening

My playbook looks as following

---

<div class="post-metadata">

**Author:** ![Josh\_Smift1](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Post date:** [September 22, 2015, 1:53pm UTC](https://forum.ansible.com/t/ansible-vars-prompt/19324/2 "2015-09-22T13:53:45Z")

</div>

> ansible-playbook RB2011.yml  
> ERROR: Syntax Error while loading YAML script, RB2011.yml  
> Note: The error may actually appear before this position: line 8, column 1

YAML likes spaces, and not tabs; do you have a tab character at the start  
of the 'default: "test"' line? If so, change it to spaces, and it should work.

(I was able to reproduce both the failure, and make it succeed, by  
switching between a tab and eight spaces.)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Josh (jbs@care.com)

This email is intended for the person(s) to whom it is addressed and may contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized use, distribution, copying, or disclosure by any person other than the addressee(s) is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email and delete the message and any attachments from your system.
