# Trying to create multiple groups, receiving generic YAML syntax error

**URL:** <https://forum.ansible.com/t/trying-to-create-multiple-groups-receiving-generic-yaml-syntax-error/14596>\
**Category:** Ansible Developer\
**Tags:** ansible-devel\
**Created:** [February 19, 2014, 2:27am UTC](https://forum.ansible.com/t/trying-to-create-multiple-groups-receiving-generic-yaml-syntax-error/14596 "2014-02-19T02:27:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [February 19, 2014, 2:27am UTC](https://forum.ansible.com/t/trying-to-create-multiple-groups-receiving-generic-yaml-syntax-error/14596/1 "2014-02-19T02:27:15Z")

</div>

Hi Lars,

Looks like you need to start the play with “-” as the indent of 3 spaces to start is weird.

Take a look at [github.com/ansible/ansible-examples](http://github.com/ansible/ansible-examples) for a few examples.

Also for future reference this is probably a topic for ansible-project (user and playbook questions) versus ansible-devel (topics related to development of new ansible code or plugins).

Let us know if you are still stuck after taking a look at examples and we should be able to get you sorted out.

Thanks!

–Michael
