No description
Find a file
Tim Rupp e81bbf9b8f Bugfix bigip_facts that was trying to check the length of an iterator (#2842)
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.
2016-09-02 23:07:32 -07:00
.github Update GitHub templates to reflect ansible/ansible (#2397) 2016-06-09 11:00:00 -04:00
cloud Minor tidyup (#2828) 2016-09-01 20:46:08 +01:00
clustering Pass through YAML parsed object instead of string. (#2347) 2016-07-22 23:03:40 +02:00
commands Make sure we don't catch rc=0 as a timeout (#2823) 2016-08-31 10:29:41 -05:00
database return a proper result set for getmaster/getslave (#2595) 2016-08-04 08:27:39 -07:00
files added unsafe_writes to blockinfile (#2701) 2016-08-09 12:39:34 -04:00
messaging rabbitmq_queue - Update requirements to show minimum version of requests (#2786) 2016-08-25 18:46:33 +02:00
monitoring Adding datadog monitor locked option. http://docs.datadoghq.com/api/#monitor-create (#2698) 2016-08-11 23:18:06 +02:00
network Bugfix bigip_facts that was trying to check the length of an iterator (#2842) 2016-09-02 23:07:32 -07:00
notification Require domain in rocketchat (#2803) 2016-08-30 23:04:48 +02:00
packaging Ensure the return value for changed is bool (#2830) 2016-09-02 07:08:08 +02:00
remote_management renamed bmc to remote_management to clarify 2016-08-23 10:53:57 -04:00
source_control Improve module docs (#2638) 2016-07-29 12:31:55 -04:00
storage Add facts and storage system modules. (#2748) 2016-09-02 07:34:04 -07:00
system Style cleanups: 2016-08-31 07:48:10 -07:00
test Update call to generate-tests. 2016-08-11 16:04:37 -07:00
univention Fix typo in EXAMPLE section (#2833) 2016-09-01 16:47:38 -04:00
web_infrastructure new module: apache2_mod_proxy (#2148) 2016-08-30 19:44:39 +01:00
windows clean up win_chocolatey doc bugs, remove redundant 2016-08-18 10:32:02 -07:00
.gitignore Add basic top level files. 2014-09-26 09:21:20 -04:00
.travis.yml ec2_vpc_dhcp_options_facts.py no py3 2016-08-30 20:37:05 +01:00
__init__.py package files 2014-09-26 11:04:10 -04:00
CONTRIBUTING.md small fix 2016-06-03 17:06:40 -04:00
COPYING Add basic top level files. 2014-09-26 09:21:20 -04:00
GUIDELINES.md Update GUIDELINES.md 2016-08-10 12:27:32 -07:00
MAINTAINERS.md New maintainers guidelines 2016-06-03 17:10:20 -04:00
README.md readme: add build state image from travis 2016-04-29 10:50:36 +02:00
REVIEWERS.md Add new SMEs for Zabbix 2015-11-03 15:48:58 -05:00
shippable.yml Add python3 testing for module PRs. (#2825) 2016-08-31 17:04:25 -07:00
test-docs.sh Add testing documentation to travis 2015-06-29 13:09:58 -07:00
VERSION Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:47:22 -05:00

Build Status

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.