I was also facing a similar issue post ansible upgrade, removing
/usr/share/ansible helped me.
On Monday, 8 August 2016 15:24:04 UTC, Ayushi jain wrote:
>
> After struggling for two days, I finally understand why it was failing.
>
> The reason was that I had a default configuration setting in ansible.cfg
> that was making ansible pick up system ansible libraries from
> /usr/share/ansible instead of virtualenv where we were installing the
> libraries. The system ansible libraries were outdated on the host we were
> running the playbook on, thus causing failure. I removed the setting to
> ensure ansible picks up latest modules installed in venv only.
>
>
> On Saturday, May 28, 2016 at 11:33:47 PM UTC-4, 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/896004b5-0505-45ea-b3be-2b3066559b0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.