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 <[email protected]> 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 [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/a24b36b1-2689-4455-9681-d46fcfdf2805%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
----------
Brian Coca

-- 
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/CACVha7fFDOazD9dW8dGW3pmHSKNCUcMJ3vFptL1%3DQRh5LpXTRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to