I had the same issue with pip installed ansible. Turned out it was because someone else had also installed ansible through apt, and it was looking in /usr/share/ansible for modules, which was picking up the outdated apt versions. Removing the apt installed ansible fixed my issue. Reporting this for others who run into the same issue.
On Tuesday, May 31, 2016 at 5:12:53 AM UTC-7, Dragan Milchevski wrote: > > If you checked-out ansible from github, you need to do git submodule > update --init --recursive. > I had the same problem with ansible 2.2.0 and after the submodule update > the problem was gone. > > Read more here: https://github.com/ansible/ansible > > On Sunday, May 29, 2016 at 5:33:47 AM UTC+2, Barry Kaplan wrote: >> >> We are trying to upgrade from 1.9 to 2.1. With no changes to so far we >> get: >> >> FAILED! => {"changed": false, "failed": true, "msg": "unsupported >> parameter for module: gather_subset"} >> >> I cannot find any use of gather_subset in our playbooks or configuration. >> I also cannot find any notes on this being an issue for upgrading. I see >> the docs for gathering ( >> https://docs.ansible.com/ansible/intro_configuration.html#gathering), >> but why would a default value be invalid? >> >> -- 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/21693c8a-93fe-4430-82cf-aa74c68264ac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
