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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f8052082-f107-4e61-8261-55d38af6f19e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to