Parse error

22 views
Skip to first unread message

chinky gupta

unread,
Mar 18, 2016, 4:00:15 PM3/18/16
to Ansible Project
Parse error: playbooks must be formatted as a YAML list, got <type dict>

What could be the reasons of such error

Brian Coca

unread,
Mar 18, 2016, 4:22:31 PM3/18/16
to ansible...@googlegroups.com
Your play is incorrectly formatted, should be like:

- hosts: all
  tasks:
   - debug: msg=onetask
  

On Fri, Mar 18, 2016 at 2:18 AM, chinky gupta <shal...@gmail.com> wrote:
Parse error: playbooks must be formatted as a YAML list, got <type dict>

What could be the reasons of such error

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a24b36b1-2689-4455-9681-d46fcfdf2805%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages