Commit graph

8759 commits

Author SHA1 Message Date
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
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