mirror of https://github.com/ansible/ansible.git
Mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Recently, a user reported that the bigip_facts module was failing with the error
received exception: object of type 'itertools.imap' has no len()
This reported was occurring at line 1657 of the bigip_facts module
bug report is here
https://github.com/F5Networks/f5-ansible/issues/25
Upon further investigation, the map function for returning the specified
includes was returning an iterator, and calling len() on an iterator does
not work.
I believe this problem was caused by part of the Python 3.x effort insofar
as the inclusion of this line
https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L143
seems to affect our usage of map(), probably for the better anyway, and we need
to change our expectations in our module's code to no longer assume a list, but
instead assume an iterator.
After trawling through the module_utils/basic code, I think a list
comprehension is more appropriate here anyway, so I'm changing it to be
that. The affected user reported it works this way, and my own testing
on 2.2.0 supports that.
|
9 years ago | |
|---|---|---|
| .github | 10 years ago | |
| cloud | 9 years ago | |
| clustering | 10 years ago | |
| commands | 9 years ago | |
| database | 10 years ago | |
| files | 10 years ago | |
| messaging | 9 years ago | |
| monitoring | 10 years ago | |
| network | 9 years ago | |
| notification | 9 years ago | |
| packaging | 9 years ago | |
| remote_management | 10 years ago | |
| source_control | 10 years ago | |
| storage | 9 years ago | |
| system | 9 years ago | |
| test | 10 years ago | |
| univention | 9 years ago | |
| web_infrastructure | 9 years ago | |
| windows | 10 years ago | |
| .gitignore | 11 years ago | |
| .travis.yml | 9 years ago | |
| CONTRIBUTING.md | 10 years ago | |
| COPYING | 11 years ago | |
| GUIDELINES.md | 10 years ago | |
| MAINTAINERS.md | 10 years ago | |
| README.md | 10 years ago | |
| REVIEWERS.md | 10 years ago | |
| VERSION | 10 years ago | |
| __init__.py | 11 years ago | |
| shippable.yml | 9 years ago | |
| test-docs.sh | 11 years ago | |
README.md
ansible-modules-extras
This repo contains a subset of ansible-modules with slightly lower use or priority than "core" modules.
All new modules should be submitted here, and have a chance to be promoted to core over time.
Reporting bugs
Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module documentation page at docs.ansible.com.
Testing modules
Ansible module development guide contains the latest info about that.
License
As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.
Installation
There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.