Commit graph

8780 commits

Author SHA1 Message Date
Ryan S. Brown
cf053d0e9c Fix ec2_asg_facts when name parameter is None
Closes #3021
2016-09-23 11:54:53 -04:00
Tim Rupp
372828de01 Fixes the bigip_selfip module to respect traffic groups (#3009)
The code for traffic groups was not being tested and therefore
had errors associated with it. It is now covered in coverage tests
and bugs that were found in it have been fixed.

See this issue for details
https://github.com/F5Networks/f5-ansible/issues/28
2016-09-23 07:20:19 +01:00
nitzmahone
1ade801f65 Fix win_chocolatey version comparison
fixes #2995
2016-09-22 20:06:45 -07:00
Matt Clay
e672b3141f Add shellcheck to sanity checks. (#3013)
Also disable deprecation warnings during module validation.
2016-09-22 16:34:33 -07:00
Tim Rupp
26546242e9 Corrects an implied map() usage as list (#3010)
In the six package, the map() function returns an iterator instead
of a list. This code was continuing to use the map() return value
as if it were a list and this broke the address_class facts.

This patch changes the code to use the list() method on the return
value of map().
2016-09-22 22:43:15 +01:00
Tom Melendez
935a3ab2cb Change 'values' to 'record_data' for gcdns module. (#3003)
Using values caused problems while creating an integration playbook as it is a reserved word.  Seeing as this module is not yet released, it's prudent to make this change now.  'record_data' is more descriptive and uses the _data convention that we've established for instances.

No functionality in the module has changed.
2016-09-21 18:15:16 -04:00
Ondra Machacek
d76f4f1795 Fix example in ovirt_auth module (#3001)
This patch fix missing quotes in ovirt_auth revoke token example
2016-09-21 15:18:37 -04:00
Robin Roth
1dc9d9512f List python-xml in requirements for zypper* (#2937) 2016-09-21 18:59:12 +02:00
René Moser
46d715d769 composer: update docs about issues on macOS if installed by homebrew (#2987) 2016-09-21 18:57:48 +02:00
Ondra Machacek
87949afbfa Ovirt auth/vms/disks modules (#2836)
* Add oVirt module to manage VMs

This patch add oVirt module to manage Virtual Machines

* Add oVirt module to manage authentication

This patch add oVirt module to manage authentication

* Add oVirt module to manage disks

* Added VM state management and fixups
2016-09-21 12:48:05 -04:00
perbly
dd8c01f8ca added enabled vlan functionality for f5 vip (#2988)
* added vlan functionality for f5 vip

* line 91, : was missing after description
2016-09-21 17:14:36 +01:00
Matt Clay
1f2319c3f3 Remove script previously used by Travis. 2016-09-20 11:43:11 -07:00
Lujeni
bbe7f73f89 Improve mongodb_user exception (#2962)
- Better error message
2016-09-20 10:19:53 -04:00
Matt Clay
db7a3f48e1 Test module docs on Shippable. (#2976) 2016-09-19 16:59:33 -07:00
Matt Clay
7a41a90e42 Combined notes to avoid duplicate key warning. (#2980) 2016-09-19 16:56:45 -07:00
Rob
99c44d9640 Modification of describe_gateways key so that it is consistent with w… (#2936)
* Modification of describe_gateways key so that it is consistent with what create_gateway returns.
Also added AnsibleModule spec to require bgp_ip on state=present as defined in the doc

* Don't remove CustomerGateways key to preserve backward compatibility
2016-09-19 17:44:09 -04:00
jctanner
ddbd63c8a6 vmware_guest: do not assume disk params contain a datastore (#2974)
* vmware_guest: do not assume disk params contain a datastore
* Fix missed line during connection refactor
2016-09-19 16:25:44 -04:00
Matt Clay
99a9933026 Remove Travis config since we only use Shippable. (#2975) 2016-09-19 12:30:27 -07:00
Matt Clay
a12ac1077e Enable python 3 sanity tests for more modules. (#2973) 2016-09-19 12:08:14 -07:00
Michael Scherer
0b778350ec Remove duplicate key from the doc (#2970) 2016-09-19 11:38:06 -04:00
Michael Scherer
b8f782f701 Merge duplicated notes, fix warning returned by ansible-doc (#2969) 2016-09-19 11:37:23 -04:00
Adrian Likins
dbce04307d Fix 'netapp_e_lun_mapping ... documentation error' (#2966)
The 'short_description' in netapp_e_lun_mapping was a
list instead of txt.

This fixes errors on 'ansible-doc -l' of form:

        ERROR! module netapp_e_lun_mapping has a documentation
        error formatting or is missing documentation

Fixes: #17634 (ansible/ansible)
2016-09-19 17:27:07 +02:00
Adrian Likins
73a11be267 Remove redundant doc keys for netapp_e_ modules (#2968)
Fixes #2967
2016-09-19 17:23:21 +02:00
jctanner
88464efdc4 vmware_guest: small refactor (#2955)
* use connecion method from module_utils
* use resource group related to host system

Addresses #2911
2016-09-18 14:57:35 -04:00
Michael Scherer
1e290f0f8f Do not import xenapi without checking, so we can avoid (#1953)
backtrace
2016-09-17 21:33:46 +02:00
Michael Scherer
5b80ec833f Fix the mysql_replication argument (#2111)
Login_password and master_password are password, should not
be logged. And config_file is a path t be expanded, so tagged as
such.
2016-09-17 18:33:11 +02:00
Hans-Joachim Kliemeck
11329c5c4d Fix mongodb user idempotence with 2.4 version (#2725) (#2920) 2016-09-17 18:25:04 +02:00
Flavio Grossi
05a656791b fix arg_spec type for rabbitmq_user module (#1657) 2016-09-17 08:38:04 +02:00
Alexandre Garnier
91c498557c Fix mixed type comparison resulting in wrong changed (#2772)
When using `use_max` or `use_min` in `pam_limits`, the new value is an integer compared with the actual_value which is a string, so they are always different and the module reports a changed but none occurred.
2016-09-17 08:26:52 +02:00
Matt Clay
560e773b14 Update CI badge. 2016-09-16 23:13:20 -07:00
Matt Clay
0763489220 Cosmetic fix to test PR and merge hooks. (#2949) 2016-09-16 22:55:40 -07:00
Matt Clay
e14cb1a06c Run same tests on Shippable as on Travis. (#2948)
Run the same tests as used on Travis.
2016-09-16 22:27:21 -07:00
Ryan S. Brown
24da3602c6 Add lambda_event module 2016-09-16 17:30:51 -04:00
Ryan Sydnor
c03e26bd20 Add Amazon Elastic File System Facts (efs_facts) module
Also switch EFS module to using boto3_conn from boto3.Session
2016-09-16 16:37:04 -04:00
Ryan Sydnor
412af426c4 Add Amazon Elastic File System (efs) module 2016-09-16 16:37:04 -04:00
Ryan Brown
ed249b3466 Import Lambda alias module from https://github.com/pjodouin/ansible-lambda (#2829) 2016-09-16 16:25:33 -04:00
Ryan S. Brown
64d60b8704 Fix redshift module Python 3.5 syntax 2016-09-16 15:48:44 -04:00
Ryan Brown
2be52280fc Fix exception syntax for Python 3.x (#2940)
since boto already precludes python2.4, no need to use a common 2.4/3 syntax
2016-09-16 15:46:41 -04:00
Steyn Huizinga
abc1a98826 Add AWS Lambda module (#1270) 2016-09-16 15:36:50 -04:00
Jim Dalton
48f079f0f2 Add module for managing CloudWatch Event rules and targets (#2101) 2016-09-16 15:34:37 -04:00
Jens Carl
9b5c64e240 New ansible module for aws Redshift and Redshift subnet group (#185) 2016-09-16 12:19:13 +01:00
Adrian Likins
2c7563b9bb Add modules for NetApp SANtricity storage platform (#2929)
The modules prefixed with netapp_e* are built to support the
SANtricity storage platform.

The modules provide idempotent provisioning for volume groups, disk
pools, standard volumes, thin volumes, LUN mapping, hosts, host groups
(clusters), volume snapshots, consistency groups, and asynchronous
mirroring.

They require the SANtricity WebServices Proxy.
The WebServices Proxy is free software available at
the NetApp Software Download site:

   http://mysupport.netapp.com/NOW/download/software/eseries_webservices/1.40.X000.0009/

Starting with the E2800 platform (11.30 OS), the modules will work
directly with the storage array.  Starting with this platform, REST API
requests are handled directly on the box.  This array can still be
managed by proxy for large scale deployments.
2016-09-15 14:52:55 -04:00
jctanner
5bbe2adb30 vmware_guest improve and fix some of the errors (#2926)
* Add more comments and fix issue with unit conversion
2016-09-15 13:49:38 -04:00
Marcin Kawa
aa45bd8a94 Fix undefined info error and accept HTTP 201 response code (#2643)
Prevent referenced before assignment error when `notify` argument is not specified and accept HTTP 201 (created) code.
2016-09-15 17:35:47 +02:00
jctanner
2f7be4ceef vmware_guest: use the disk argument to modify disk size and type (#2918)
Fixes #2706
2016-09-15 09:34:58 -04:00
Rene Moser
170adf16bd
zabbix_host: fix typos in arg spec of login_user
Credits to @JasonCormie
2016-09-14 23:43:20 +02:00
Ryan Brown
8749c40fee New module: lambda_facts (#2874) 2016-09-14 11:41:02 -04:00
David Stygstra
333133144e Use modprobe -r instead of rmmod in modprobe module (#2669)
If any modules that the module being removed depends on are unused, they
will also be removed. Fixes #2140.
2016-09-14 14:32:08 +02:00
Michael Grüner
d69a6f20da letsencrypt: Improve error handling (#2868)
* letsencrypt: improve error handling

Use the new "body" field of the info dict in case of a HTTPError.

* letsencrypt: HTTP 202 is a valid status while polling
2016-09-14 14:16:51 +02:00
Steve Gargan
2b6f3419b6 remove duration from lock delay as seconds are the only granularity supported. (#2877)
add utf header to file so that it loads correctly
2016-09-14 11:39:41 +02:00