I have a error I really can't figure out why this is happening
My playbook looks as following
---
- name: "Generate Mikrotik Config"
hosts: localhost
vars_prompt:
- name: "hostname"
prompt: "Hostname on the unit"
private: no
default: "test"
When I run the playbook I get the following error.
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
private: no
default: "test"
^
As soon as I remove the default: the playbook works as intended
This is my ansible version
ansible --version
ansible 1.9.3
configured module search path = None
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bff74e59-1752-4cdc-a034-20c0857e8335%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.