Commit Graph

27491 Commits (71cc868f2ba3aee3f1dfc3e555e65b0780e2a1b9)
 

Author SHA1 Message Date
Tim Rupp f48791e8bc 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.
8 years ago
Kevin Hulquest e47a5674fb Add facts and storage system modules. (#2748)
* Add facts and storage system modules.

* Update version metadata.

* Add facts and storage system modules.

Update version metadata.

Add init files.

* Fixes for review comments.

* Fixes for review comments.

* Update document fragments for api_* options to indicate they are required.

* Correct bad string concatenation.

* Add option description for validate_certs since basic_auth arg_spec is no longer extended.

* Add default value for validate_certs in docstring.

* Rename directory name so it applies to netapp and not simply eseries platform.

* Rename modules to differentiate other netapp modules.
8 years ago
Robin Roth fb49e0401e Ensure the return value for changed is bool (#2830)
fixes #2827
8 years ago
Michael Grandjean 70e8bb3092 Fix typo in EXAMPLE section (#2833) 8 years ago
John R Barker b7afa14f64 Minor tidyup (#2828) 8 years ago
Matt Clay 7e3af74fae Add python3 testing for module PRs. (#2825) 8 years ago
Ryan Brown 2858d24acb New module: execute_lambda (AWS) (#2558)
First version of execute_lambda module

Supports:
- Synchronous or asynchronous invocation
- Tailing log of execution (sync execution only)
- check mode
8 years ago
Monty Taylor 510e1140ce Error if shade is too old for domain_id on os_project (#2806)
* Error if shade is too old for domain_id on os_project

os_project's domain_id parameter requires shade >= 1.8.1 to work. Be
explicit.

Fixes #2805 os_project requires python-shade 1.8.1 or higher

* What I really meant was 1.8.0
8 years ago
Matt Martz 91abacfca7 Make sure we don't catch rc=0 as a timeout (#2823) 8 years ago
Toshio Kuratomi 3cb7e4bd0e Style cleanups:
* Don't use iterkeys
* Don't use wildcard imports
8 years ago
Michael Scherer b255ac4ea6 Use six for iteration, to make it run on python3 (#2800) 8 years ago
Tim Rupp acdbe5cb3f Adds allow_service parameter to bigip_selfip (#2808)
This parameter can be used to open up access to (among other things)
the mgmt address of a BIG-IP. It is necessary for configuring bigips
in an HA configuration.
8 years ago
Tobias Rueetschi c0ad8b030e udm_user: change overridePWHistory and overridePWLength to snake_case 8 years ago
Tobias Rueetschi e4dd122ab7 univention udm_user: override password history. 8 years ago
Tobias Rueetschi 10a2eb9304 udm_user: change code to fit documentation with snake_case instead of camelCase 8 years ago
Tobias Rueetschi 34445d515d udm_user: change camelCase to snake_case in documentation 8 years ago
Tobias Rueetschi 3d563324dd univention udm_user: pep8 8 years ago
Tobias Rueetschi 661cf5d5ea univention udm_share: add aliases as documented 8 years ago
Tobias Rueetschi 3709fb651d univention udm_share: change documentation, use camel_case for parameters, old parameter names as alias 8 years ago
Tobias Rueetschi de34fdf681 univention udm_share: pep8 8 years ago
Tobias Rueetschi 8eb496989e univention udm_share: add example 8 years ago
Tobias Rueetschi ea72534151 univention udm_share: change some parameters to type bool 8 years ago
Tobias Rueetschi 1cc3afdbdd univention udm_share: reorder documentation parameters 8 years ago
Tobias Rueetschi 7dd96079f0 univention udm_share: add documenation 8 years ago
Tobias Rueetschi db4aca4621 univention udm_share: import only AnsibleModule from ansible.module_utils.basic 8 years ago
Tobias Rueetschi 6e4da8987e univention udm_share: add license information 8 years ago
Tobias Rueetschi b38979321d univention udm_share: add required_if to the API 8 years ago
Tobias Rueetschi bba8cdf0af univention udm_share: fix shebang 8 years ago
Tobias Rueetschi afccc72d41 univention udm_share: adapt to library univention_umc 8 years ago
Tobias Rüetschi a973d8e9c4 UCS udm_share: fix creating of new shares 8 years ago
Tobias Rüetschi 66380d6b7f UCS udm_share: added 8 years ago
Ethan Devenport dcd7544b26 Added parameter choices for bus. 8 years ago
Ethan Devenport 403c1ddf7b Set variable types, defined choices, and cleaned up whitespace. 8 years ago
Ethan Devenport f9e0830b44 Reverting recent commits back to initial PR and will move the new profitbricks_firewall_rule module and other recent changes to a new branch.
Revert "Added support for firewall rules, consolidated resource UUID retrieval methods for server and NIC modules, and set LAN type to int."

This reverts commit 464cbb89f2.
8 years ago
Ethan Devenport e1960d2488 Added RETURN documentation. 8 years ago
Ethan Devenport a3200fc98e Some further documentation updates including version. 8 years ago
Ethan Devenport 93a237f604 Minor documentation corrections. 8 years ago
Ethan Devenport 4b7a4e4495 Added support for firewall rules, consolidated resource UUID retrieval methods for server and NIC modules, and set LAN type to int. 8 years ago
Ethan Devenport e2c8fec8d9 Included version_added for new options. 8 years ago
Ethan Devenport 267052d7a5 Removed us/lasdev datacenter which the cloud provider no longer maintains. 8 years ago
Ethan Devenport 6d8e3eac7b Additional provider features added and fixed some bugs. * Added support for SSH keys, image passwords, SSD disk type, and CPU family. * Adjusted server create so that IP address is returned in response. * Restructured remove server method(s) to handle change status properly, gracefully handle missing servers, and improve overall performance. * Prevent duplicate server names from being provisioned so removals can be handled appropriately. * Fixed a bug in the count increment being a string rather than an integer. * Fixed issue with create_volume returning invalid response. * Fixed type bug in volume instance_ids for volume removal and improved volume management. * Fixed type bug in instance_ids for proper server removal and moved boot volume creation into composite server build request. * General clean up. 8 years ago
Wong Hoi Sing Edison d9a1b04e40 Fix ansible/ansible-modules-extras#1682: add dispersed volume support for gluster_volume (#2708) 8 years ago
afunix 32574aa358 gluster_volume module parses out additional hostnames provided by "gluster peer status" command [#1405] (#2811) 8 years ago
René Moser 4017be741a ec2_vpc_dhcp_options_facts: fix exception handling, fixes build (#2819) 8 years ago
Fabio Alessandro Locati 4af6033469 Require domain in rocketchat (#2803)
* Set the domain as required

* Add domain in the examples as well
8 years ago
Joe Smith 09776a9e52 Set explicit type for timeout (#2809)
vmware_maintenancemode.py needs explicit type for timeout, otherwise it reads timeout as string and breaks.
8 years ago
John R Barker abaf6afc0a ec2_vpc_dhcp_options_facts.py no py3
Old PR was merged that hadn't been updated since we added the py3 checks
8 years ago
Tobias Rüetschi e318c9b008 Feature udm dns zone (#2382)
* UCS udm_dns_zone: added

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_zone: updated, add supports check mode

Signed-off-by: Tobias Rüetschi <tobias.ruetschi@adfinis-sygroup.ch>

* UCS udm_dns_zone: updated, add support to modify dns zones

* UCS udm_dns_zone: change string formating

* UCS udm_dns_zone: add a function to convert the time to the biggest unit

* UCS udm_dns_zone: add type definitions to the argument specification

* UCS udm_dns_zone: update function convert_time

* UCS udm_dns_zone: only modify object if it has changed

* UCS udm_dns_zone: add documentation

* UCS udm_dns_zone: fix checks

* UCS udm_dns_zone: if dns zone not exists, changed is always true

* UCS udm_dns_zone: documentation, add version_added

* UCS udm_dns_zone: add license and fix travis for python 3

* UCS udm_dns_zone: import common code for univention from ansible.module_utils.univention

* univention udm_dns_zone: adapt to library univention_umc

* univention udm_dns_zone: lint

* univention udm_dns_zone: add requirement python >= 2.6 to documentation

* univention udm_dns_zone: dont import time, its unused
8 years ago
Adam Števko d56c34ea9e Add modules to configure Solaris/illumos networking (1st batch) (#2416)
* Add modules to configure Solaris/illumos networking (1st batch)

* Add choices to temporary flags
8 years ago
Olivier Boukili f43eb7c79e new module: apache2_mod_proxy (#2148)
* module apache2_mod_proxy

* Moved state notes to state description.
8 years ago