Commit graph

8729 commits

Author SHA1 Message Date
Ryan Brown
7e1bf4fc8f Merge pull request #1882 from linuxdynasty/new_ec2_vpc_nat_gateway
Add new `ec2_vpc_nat_gateway` module for managing AWS NAT gateways and their EIPs
2016-08-05 09:11:48 -04:00
Allen Sanabria
950d76af0b fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st 2016-08-04 20:26:08 -07:00
Allen Sanabria
dcf4d7e6e5 fail_json when error and not exit_json 2016-08-04 17:15:31 -07:00
Allen Sanabria
461553bda8 updated tests to reflect dict vs list 2016-08-04 13:10:11 -07:00
Allen Sanabria
123c70546e clean up documentation 2016-08-04 13:00:35 -07:00
Serge van Ginderachter
fc76455326 return a proper result set for getmaster/getslave (#2595)
* return a proper result set for getmaster/getslave

when not on a master/slave.
This allows for a cleaner error handling.

* A more uniform return of result keys for getmaster/slave
2016-08-04 08:27:39 -07:00
Serge van Ginderachter
9a47088d67 Exception handling for MySQLdb warnings (#2594)
Do not fail the module for warnings.
Return warnings in the module result set.

Fixes #719
Alternative to #720 and as discuseed over there.
2016-08-04 08:17:10 -07:00
Thierno IB. BARRY
e9bbd3a403 Add kibana_plugin module (#2621)
* kibana_plugin: add the kibana_plugin module

* kibana_plugin: update doc

* kibana_plugin: add check mode and fix few coding style issues

* kibana_plugin: use return instead conditional statement for check mode
2016-08-04 09:09:45 +02:00
Allen Sanabria
ab62c644bc updated catch statement to pass test (as e) 2016-08-03 12:38:05 -07:00
Allen Sanabria
8af1063785 Make sure to catch if no gateways exist 2016-08-03 12:38:05 -07:00
Allen Sanabria
4e8e38f631 remove boto 2016-08-03 12:38:05 -07:00
Allen Sanabria
2e42c72447 version bump 2016-08-03 12:38:05 -07:00
Allen Sanabria
79ea553200 Module requires boto due to ec2.py 2016-08-03 12:38:05 -07:00
Allen Sanabria
aa189b8d98 Added default result of None in catch statement 2016-08-03 12:38:05 -07:00
Allen Sanabria
ee523be26c Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
2016-08-03 12:38:05 -07:00
Allen Sanabria
349db85b00 Fixed the missing argument to get_eip_allocation_id_by_address 2016-08-03 12:38:05 -07:00
Allen Sanabria
f86c5f8465 Manage AWS Nat Gateways
* Create an AWS Nat Gateway.
* Delete an AWS Nat Gateway.
* If Nat Gateway exist in subnet and the option is passed to not create one, it will then return the Nat Gateway object.
2016-08-03 12:38:05 -07:00
James Cammarata
6fb1ec9def Merge pull request #2652 from logicmonitor/logicmonitor
Add logicmonitor and logicmonitor_facts modules
2016-08-03 14:04:36 -05:00
John R Barker
44948d3f15 Merge pull request #2323 from bendoh/bendoh-archive-module
New Module: archive
2016-08-03 11:16:03 -07:00
Filipe Niero Felisbino
e2e697c3ff Fix attachment issue ( thanks @gunzy83 ) 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
753ddf87ac Change attached parameter default to None 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
c81e88856a Add "version_added" to attached attribute 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
3099b607c1 Add attached parameter to ec2_eni module 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
8461524904 Add RETURN docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
178caff2ed Fix docs 2016-08-03 10:10:53 -03:00
Filipe Niero Felisbino
27c4beb19d Fix the AMI creation/modification logic thus making it idempotent 2016-08-03 10:10:53 -03:00
Andrea Scarpino
b28daebc2b win_firewall_rule: fix "property X doesn't exist"
After commit 9392943 more properties are always sets with their defaults
values (e.g. service to 'any'). This causes no issue when the rule is created,
but causes an error message that says "The property 'X' cannot be found on this
object. Verify that the property exists." because the module checks for
any property value that has changed, but `netsh advfirewall firewall show rule`
does not list any property unless `verbose` is set. This patch solves this.

Fixes #2624
2016-08-03 11:05:08 +02:00
Robin Schneider
57c142b6ed Use HTTPS instead of legacy HTTP for ansible.com (#2636)
Mechanical edit done by this "one-liner":

git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#http://www\.ansible\.com#https://www.ansible.com#g;'

Related to: https://github.com/ansible/ansible/issues/16869
2016-08-02 21:12:51 +02:00
Jeff Wozniak
679f30dd20 Add logicmonitor and logicmonitor_facts modules 2016-08-02 11:13:39 -07:00
jctanner
11c86c9696 Merge pull request #2649 from jctanner/PYVMOMI_VMWARE_GUEST_MODULE
Pyvmomi vmware_guest module
2016-08-02 13:38:38 -04:00
James Tanner
13215eeb7c Consolidate to one module and use new arg spec 2016-08-02 11:28:03 -04:00
James Tanner
6cebd509d7 add examples 2016-08-01 23:08:30 -04:00
James Tanner
cf61825ae5 Remove print statements 2016-08-01 23:04:00 -04:00
James Tanner
a3f415a892 fix tabs 2016-08-01 22:47:26 -04:00
James Tanner
5d2d0e0045 fix tabs 2016-08-01 22:38:41 -04:00
James Tanner
07fb05a852 Add the guest state module 2016-08-01 22:20:05 -04:00
James Tanner
3caee773cb Rename module 2016-08-01 21:40:12 -04:00
James Tanner
c51b1549a2 Add return data example 2016-08-01 21:34:33 -04:00
Matt Clay
4943b4e82e Enable FreeBSD tests on Shippable. (#2648) 2016-08-01 16:13:07 -07:00
James Tanner
6b5ad394da Add template deployer 2016-08-01 18:55:22 -04:00
Brian Coca
1a74d68a37 updated docs, version is 2.2 and explain changes 2016-07-29 22:32:13 -04:00
Jonathan Davila
ccec9b1645 Updates to Sendgrid Module (#1275) 2016-07-29 22:17:56 -04:00
Ryan Brown
84298ab5ce Improve module docs (#2638) 2016-07-29 12:31:55 -04:00
Matt Clay
baaaf7f96f Enable Windows tests on Shippable. (#2635) 2016-07-28 23:12:32 -07:00
Adrian Likins
f4e34d5c3a Add RETURN docs for github_key (#2634) 2016-07-28 17:44:04 -04:00
Adrian Likins
28bb69bd41 Use %s string formatting in system/timezone.py (#2632)
This module was using python 2.6 string .format().
To enable the module to run on python2.4, replace
the .format formatting with '%s' based string formatting.

There was also a use of a 'filename' variable in the
NosystemdTimezone.get() method that was never set.

An import of 'os' was also added for clarity.
2016-07-28 17:02:00 -04:00
Adrian Likins
41a0f22fe8 Add a 'requirements:' field to homebrew doc (#2630)
homebrew.py and homebrew_cask.py make use of python
2.5 and 2.6 features like string .format() method.
2016-07-28 17:00:41 -04:00
Adrian Likins
9006c8018d Use py2.4 compat string formatting in github_key (#2633)
Replace the use of python 2.6+ string .format() method
use with the python 2.4 compatible '%s' formatting to
make the github_key module py2.4 compatible.
2016-07-28 16:59:22 -04:00
Ryan Brown
d72a394f0b Merge pull request #2126 from bcoca/s3_bucket_fix_json_plus
Refactor of `s3_bucket` to support json/jsonarg param type
2016-07-28 16:37:07 -04:00
Ryan S. Brown
a69aa60081 Correct version_added for github_key module - was 2.0, now 2.2 2016-07-28 16:01:08 -04:00