# Problems with parsing simple playbooks on latest dev version

**URL:** <https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387>\
**Category:** Ansible Developer\
**Created:** [September 30, 2014, 7:35pm UTC](https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387 "2014-09-30T19:35:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Herskovic](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Jorge\_Herskovic](https://forum.ansible.com/u/Jorge_Herskovic)\
**Post date:** [September 30, 2014, 7:35pm UTC](https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387/1 "2014-09-30T19:35:02Z")

</div>

Hi everyone,

I’m having a horrible time parsing a playbook that worked fine last week (always on HEAD). I may have an error, but I can’t find it.

This breaks immediately with

ERROR: group is not a legal parameter in an Ansible task or handler

---

<div class="post-metadata">

**Author:** ![Michael\_Peters](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Post date:** [September 30, 2014, 7:41pm UTC](https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387/2 "2014-09-30T19:41:53Z")

</div>

This looks like you're running ansible from git and haven't updated  
due to the new module repo split change detailed here:

[https://groups.google.com/forum/#!topic/ansible-project/TUL\_Bfmhr-E](https://groups.google.com/forum/#!topic/ansible-project/TUL_Bfmhr-E)

Specifically these commands need to be run so that your ansible  
checkout knows about how things are split into submodules:

git pull --rebase  
git submodule update

---

<div class="post-metadata">

**Author:** ![Jorge\_Herskovic](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Jorge\_Herskovic](https://forum.ansible.com/u/Jorge_Herskovic)\
**Post date:** [September 30, 2014, 7:58pm UTC](https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387/3 "2014-09-30T19:58:15Z")

</div>

Thanks.

For what it’s worth, the problem persisted after a pull --rebase and submodule update, but deleting the cloned repo and cloning again with --recursive did the trick.

---

<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:** [October 1, 2014, 12:39pm UTC](https://forum.ansible.com/t/problems-with-parsing-simple-playbooks-on-latest-dev-version/16387/4 "2014-10-01T12:39:59Z")

</div>

The correct git command was:

“git submodule update --init --recursive”

And probably would have fixed it, I think.

Glad you are operational!
