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 wrote:
> Parse error: playbooks must be formatted as a YAML list, got
>
> What could be the reasons of such error
>
> --
> You received this message
Parse error: playbooks must be formatted as a YAML list, got
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 ansibl