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
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
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
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
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.
The correct git command was:
“git submodule update --init --recursive”
And probably would have fixed it, I think.
Glad you are operational!