Commit graph

8747 commits

Author SHA1 Message Date
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
René Moser
6d37aa4260 jenkins_job fix: NameError: global name 'module' is not defined (#2910) 2016-09-14 10:43:27 +02:00
Tim Rupp
24aceceb36 Fixes domains method not defined (#2907)
The domains method was not defined, and therefore when specifying
a parent domain during route domain creation, the process would
fail.

Tests have been added to detect this going forward
2016-09-14 07:35:15 +01:00
jctanner
7fcc5dcb8a vmware_guest implement clonevm for multi-dc environments (#2909)
* Fix bug in processing of null return
* Fix multi-dc folder location by enhancing the foldermap and using it to search
* Remove unused functions
* Refactor finding vm by folder

Fixes #2900
2016-09-14 01:46:43 -04:00
Cougar
fbdb448661 vmware_guest Fix: remove 'nic' and 'disk' requirements for facts (#2844) 2016-09-13 14:03:08 -04:00
Benjamin Doherty
c0d77be491 Updates to archive module based on code review (#2699)
* Use common file arguments on destination file
* Rename 'compression' to 'format' h/t @abadger
* Add support for plain 'tar' format
* Ensure check_mode is respected
2016-09-13 12:40:07 -04:00
Peter Sprygada
c07516bd4b Merge pull request #2905 from privateip/asa_config
updates to asa_config module for Ansible 2.2
2016-09-13 12:07:02 -04:00
Peter Sprygada
6d56ce5120 updates to asa_config module for Ansible 2.2
* clean up functions and remove unneeded code
* config difference now includes keyword argument
* module reports changed when save argument is yes with or without check_mode
* updated fail_json return with exc kwargs
* fixed up import statements
2016-09-13 12:02:15 -04:00
Peter Sprygada
b0ae17f2c7 Merge pull request #2904 from privateip/asa_acl
fixes a number of nagging issues in asa_acl due to refactoring
2016-09-13 11:19:17 -04:00
Peter Sprygada
961d461f7b fixes a number of nagging issues in asa_acl due to refactoring
* fixes issues with import error
* removes need for filter attribute in Cli instance
* now filters config either from device or provided via config argument

ref: #2890
2016-09-13 11:03:08 -04:00
René Moser
afd0b23836 Merge pull request #2892 from resmo/fix/streamline_jenkins_job
streamline jenkins job module
2016-09-13 16:02:57 +02:00
Will Thames
1f6f3b72db firewalld should fail nicely when service is stopped (#2871)
Ensure the HAVE_FIREWALLD checks check only for the
presence of the python dependencies, and not the age
of the library or the state of the service, which
are checked later.
2016-09-12 23:57:10 +02:00
Peter Sprygada
e44376eda8 Merge pull request #2902 from privateip/asa_acl
bug fix in asa_acl module for missing candidate config
2016-09-12 17:07:28 -04:00
Peter Sprygada
0e5837a2e9 bug fix in asa_acl module for missing candidate config
This bug was introduced accidentally when refactoring to 2.2.  The instance
of the candidate config was deleted.  This adds the candidate config
instance back

fixes #2890
2016-09-12 16:48:47 -04:00
Robin Schneider
67a1bebbd3 Use addresses and names reserved for documentation (#2894)
Trying to preserve the meaning of the examples.

Related to: https://github.com/ansible/ansible/issues/17479
2016-09-12 11:27:45 +02:00
Tobias Wolf
061c6517eb Fix one character typo in my previous PR for debconf module (#2899)
Small oops in the previous PR #2530 commit.

Instead of `diff_dict` it slipped through as `diffdict`.

Please merge and sorry.
2016-09-12 10:25:28 +02:00
Rene Moser
79efc2c70f jenkins_job: refactoring 2016-09-11 00:07:38 +02:00
Rene Moser
66e69b3ad3 jenkins_job: implement diff support 2016-09-11 00:07:02 +02:00
Rene Moser
407e19fe4f jenkins_job: rename enable to enabled and mutually exclusive with config
Jenkins stores the information about the state (disabled/enabled) in the config, which result in a race condition between `config` and `enabled` and we loose idempotency. It makes sense to define them mutually exclusive.

Renamed `enable` to `enabled`. Ansible uses the name `enabled` in many modules, e.g. service as it indicates a state not an action.
2016-09-11 00:06:52 +02:00
Rene Moser
472f174693 jenkins_job: default state to present 2016-09-10 09:07:09 +02:00
Alex
eb6e0069e9 Start zypper in non-interactive mode (#2854) 2016-09-10 08:36:59 +02:00
sgujic
ac0e6d2c4d Create temporary file in a secure manner. (#2887) 2016-09-09 14:47:49 -04:00
Nils Pascal Illenseer
6c6da8f86e Delete lxd container in state stopped (#2885)
If a lxd container is stopped, do not stop it before deleting it.
2016-09-09 14:57:36 +02:00
Gilles Gagniard
f83aa9fff3 GCE : Fix image family handling with libcloud > 0.20.1 (#2289)
* fix image family handling with libcloud > 0.20.1

* add missing import
2016-09-08 15:12:20 -04:00
Robyn Bergeron
780e196c2f Updating GUIDELINES.md
Updating info on how issues are routed via bot.
2016-09-08 09:39:52 -07:00
Greg DeKoenigsberg
43860de5c6 Update MAINTAINERS.md
We could have deleted this, but just in case there are links to it from elsewhere, providing a redirect to the now authoritative GUIDELINES.md.
2016-09-08 12:36:30 -04:00
Greg DeKoenigsberg
771e438bc6 Point to GUIDELINES.md 2016-09-08 12:32:30 -04:00
johanwiren
b88fdde22c Fix share aliases logic (#2862) (#2875)
Fixes #2862
2016-09-08 18:01:27 +02:00
John R Barker
9a338b05eb Document a10_server new options (#2876)
* Document write_config and validate_certs
2016-09-08 10:54:21 +01:00
Steve Gargan
64ace27be3 correctly iterate and return results of any service checks. (#2878)
current implementation was breaking making the module unusable, changing to the list comprehension fixes this. Also default to seconds instead of throwing a exception when no duration units are supplied as this causes tests to fail
2016-09-08 07:17:56 +02:00
Matt Clay
6a7358b14e Remove stderr=False from calls to exit_json. (#2879) 2016-09-07 15:40:17 -07:00
Tim Rupp
faf8f2192d Adds bigip_ssl_certificate module (#2831)
Adds bigip_ssl_certificate module

This module is another in the ongoing "bootstrapping saga" that is
being undertaken. With this module you can manage the lifecycle of
the SSL certificates on a BIG-IP. This includes those used for
SSL offloading.

Tests for this module can be found here

https://github.com/F5Networks/f5-ansible/blob/master/roles/__bigip_ssl_certificate/tasks/main.yaml

Platforms this was tested on are

12.0.0
12.1.0
2016-09-07 15:34:00 +01:00
Ryan S. Brown
8bfdcfcab2 Normalize variable naming in cloudformation_facts module using camel2snake 2016-09-06 17:15:13 -04:00
Ryan S. Brown
b1a25291b5 cloudformation_facts: Connect boto3 using the module_utils AWS connection instead of calling boto3 directly 2016-09-06 17:14:54 -04:00