Commit Graph

8699 Commits (8bfdcfcab264386695faf058cfbb221588f2c573)
 

Author SHA1 Message Date
Ryan S. Brown 8bfdcfcab2 Normalize variable naming in cloudformation_facts module using camel2snake 8 years ago
Ryan S. Brown b1a25291b5 cloudformation_facts: Connect boto3 using the module_utils AWS connection instead of calling boto3 directly 8 years ago
jmenga 1f79c357da New module cloudformation_facts (#2329) 8 years ago
Michael Scherer 1474bde864 Do not crash if the system do not have required modules (#2852) 8 years ago
Tobias Wolf 39972fa697 Add diff mode output to debconf module (#2530)
Support diff such that the previous and current settings are visible
without debug output and just with `--diff` if requested.
8 years ago
sermilrod c848957792 adding jenkins_job module (#2521) 8 years ago
Werner Dijkerman 2214203ce0 Added new module opendj_backendprop for updating backend settings opendj (#2855)
Add opendj_backendprop
8 years ago
Peter Sprygada d3dd754a40 Merge pull request #2848 from privateip/asa_config
update asa_config module
8 years ago
Peter Sprygada 84953d9d42 Merge pull request #2849 from privateip/asa_template
roll up of updates to asa_template
8 years ago
Peter Sprygada 1f138b6567 Merge pull request #2850 from privateip/asa_command
added new functionality to asa_command
8 years ago
Peter Sprygada 3079d6ff29 Merge pull request #2851 from privateip/asa_acl
roll up updates to asa_acl module
8 years ago
Peter Sprygada 10e8cdc93a roll up updates to asa_acl module
* remove get_module() in favor of NetworkModule
* fix up import statements
* roll up fixes for NetworkConfig object handling
8 years ago
Peter Sprygada dc0290a067 added new functionality to asa_command
* commands argument now accepts a dict arguments
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada db5dd8516c update asa_config module
* removes get_module() factory method for NetworkModule
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or withoutdefaults
* add save argument to save current running config to startup config
8 years ago
Peter Sprygada 44733e3798 roll up of updates to asa_template
This updates the asa_template module with updates for Ansible 2.2.

* removes get_module() in favor of NetworkModule
* fixes up import statements
8 years ago
René Moser 7b4f78798e Merge pull request #2365 from filipenf/fix-ec2_eni
Fix the eni creation/modification logic thus making it idempotent
8 years ago
Thierno IB. BARRY 5c3be5ea28 elasticsearch_plugin: Fix bug when using proxy (#2603) (#2838) 8 years ago
Nadir e6678a7496 Added redrive policy options (#2245) 8 years ago
Robin Roth 06bd2a5ce2 Zypper repo autoimport keys (#2132)
* zypper_repository add auto_import_keys options

* also give more output on failure (rc, stdout, stderr)

* be more specific in the doc for auto_import_keys

* add runrefresh option to zypper_repository

* this comes out of ansible/ansible-modules-extras#2411, where AnderEnder adds refresh to the zypper module
* adds a way to force zypper to refresh a repository
* can be used to refresh independently of auto_import_keys
* add option to run name=* runrefresh=yes
* name runrefresh to not break existing use to refresh (now alias to autorefresh)
* add version_added flag to autorefresh

* remove wrong version_added comment
8 years ago
EarlAbides 9278cce7d2 Fix ec2_asg_facts module when using name parameter (#2840) (#2841) 8 years ago
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.
8 years ago
Kevin Hulquest ab7391ff14 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 64879e5eb5 Ensure the return value for changed is bool (#2830)
fixes #2827
8 years ago
Michael Grandjean f38fbaefc6 Fix typo in EXAMPLE section (#2833) 8 years ago
John R Barker f13d376f0c Minor tidyup (#2828) 8 years ago
Matt Clay e8a5442345 Add python3 testing for module PRs. (#2825) 8 years ago
Ryan Brown aedaca55ac 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 ae5852449c 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 3867cc71a6 Make sure we don't catch rc=0 as a timeout (#2823) 8 years ago
Toshio Kuratomi b576e116f0 Style cleanups:
* Don't use iterkeys
* Don't use wildcard imports
8 years ago
Michael Scherer a2d3aac8cc Use six for iteration, to make it run on python3 (#2800) 8 years ago
Tim Rupp ef6eb80c12 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
René Moser 638e25bead Merge pull request #2821 from adfinis-forks/udm_user_pwhistory
univention udm_user: override password history.
8 years ago
Tobias Rueetschi ec2cc904e2 udm_user: change overridePWHistory and overridePWLength to snake_case 8 years ago
Tobias Rueetschi 81c2fb46f1 univention udm_user: override password history. 8 years ago
René Moser 48eba12d23 Merge pull request #2822 from adfinis-forks/fix_udm_user
univention udm_user: pep8
8 years ago
John R Barker bd2d487c6a Feature udm share (#2439)
Add univention/udm_share.py

* UCS udm_share: fix creating of new shares

* univention udm_share: adapt to library univention_umc

* univention udm_share: fix shebang

* univention udm_share: add required_if to the API

* univention udm_share: add license information

* univention udm_share: import only AnsibleModule from ansible.module_utils.basic

* univention udm_share: add documenation

* univention udm_share: reorder documentation parameters

* univention udm_share: change some parameters to type bool

* univention udm_share: add example

* univention udm_share: pep8

* univention udm_share: change documentation, use camel_case for parameters, old parameter names as alias

* univention udm_share: add aliases as documented
8 years ago
Tobias Rueetschi a370a8c8f6 udm_user: change code to fit documentation with snake_case instead of camelCase 8 years ago
Tobias Rueetschi caba5d1715 udm_user: change camelCase to snake_case in documentation 8 years ago
Tobias Rueetschi d179938952 univention udm_user: pep8 8 years ago
René Moser 8d1ce3f2fd Additional provider features added and fixed some bugs (#2769)
* 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.

* Removed us/lasdev datacenter which the cloud provider no longer maintains.

* Included version_added for new options.

* Added support for firewall rules, consolidated resource UUID retrieval methods for server and NIC modules, and set LAN type to int.

* Minor documentation corrections.

* Some further documentation updates including version.

* Added RETURN documentation.

* 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.

* Set variable types, defined choices, and cleaned up whitespace.

* Added parameter choices for bus.
8 years ago
Ethan Devenport 1eb5745f49 Added parameter choices for bus. 8 years ago
Ethan Devenport 86285e8824 Set variable types, defined choices, and cleaned up whitespace. 8 years ago
Wong Hoi Sing Edison 9cd681a841 Fix ansible/ansible-modules-extras#1682: add dispersed volume support for gluster_volume (#2708) 8 years ago
afunix f69d32ec44 gluster_volume module parses out additional hostnames provided by "gluster peer status" command [#1405] (#2811) 8 years ago
René Moser 1c4f346691 ec2_vpc_dhcp_options_facts: fix exception handling, fixes build (#2819) 8 years ago
Fabio Alessandro Locati 2c78dea646 Require domain in rocketchat (#2803)
* Set the domain as required

* Add domain in the examples as well
8 years ago
Joe Smith 44c86245ff 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 38b4263531 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 a39da41bb2 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