Commit graph

8164 commits

Author SHA1 Message Date
Mike Mochan
a58a12fc1f All calls to describe_vpc_peering_connections need to use the params dict 2016-05-25 11:46:31 -07:00
Mike Mochan
8ab4963e78 Remove unused vars and pass params dict to describe_peering_connections 2016-05-25 11:46:31 -07:00
Mike Mochan
2291fc00d2 update to capture peer status 2016-05-25 11:46:31 -07:00
Mike Mochan
2392395a47 removed obsolete ec2 resource object 2016-05-25 11:46:31 -07:00
Mike Mochan
10ce4d8b88 refactored to use dict invocation for calling client peerings functions 2016-05-25 11:46:31 -07:00
Mike Mochan
f6c7bdf9c5 updates to Documentation - Removed refs to Boto, added params dict() and removed obsolete if statements 2016-05-25 11:46:31 -07:00
Mike Mochan
34ae687ae3 cloud/amazon/ec2_vpc_peer.py 2016-05-25 11:46:31 -07:00
Mike Mochan
f84af48733 removed debug package 2016-05-25 11:46:31 -07:00
Mike Mochan
92dea03181 Version added, GPLv3 License header added 2016-05-25 11:46:31 -07:00
Mike Mochan
400484f69f Initial commit for cross account VPC peering module 2016-05-25 11:46:30 -07:00
dougluce
b6b04795c3 Don't bomb if original didn't exist (#2295)
If we don't have an existing file, original ends up as None.  Bug
introduced in 70fa125
2016-05-25 07:54:07 +02:00
Adrian Likins
d1a4f703ce Fix pkgutil "upgrade_catalog must be one of" err (#2149)
The arg spec for update_catalog include 'type=bool'
and 'choices=["yes", "no"] which can never both be
true.

Remove the 'choices' directive, and update doc string.

Fixes #2144
2016-05-24 11:55:14 -04:00
René Moser
a055d7240a fix build and doc cleanups (#2286) 2016-05-24 13:24:04 +02:00
jhawkesworth
e35d5f2c54 Add info about where you can find product ids for changed checking on win_package module (#2281) 2016-05-23 16:14:49 -04:00
Toshio Kuratomi
342af8b249 Add __init__.py and update version_added to fix module for ansible-validate checks 2016-05-23 13:06:14 -07:00
Fernando José Pando
0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-05-23 11:39:20 -04:00
Dag Wieers
4afae893e1 Convert module to work with python 2.4 and fix a bug (#2251)
- Avoiding the use of 'with ... as ...' and 'except ... as ...' constructs.

- Make use of posixpath.join() rather than concatenating slashes ourselves
  (To avoid having consecutive slashes which broke something on our side)
2016-05-23 11:18:05 -04:00
Mike Mochan
6d52d84af7 New AWS module for managing VPC Network ACLs (#1502)
* New AWS module for managing VPC Networks ACLs

Moved return  outside of try block

botocore.exceptions to support python 2.5

For some reason Travis is using Python V2.4 to run the tests - My code is valid

duplicate file

* Fixed NameError Exception- module not being passed when calling some boto3 client methods

* Fixes a bug reported by @dennisconrad, where the nacl is not created when subnets list is empty

* nacl property changed to name and fixes a bug where nacl is not deleted when subnets list is empty

* Updates to version and requirements

* Fix 'vpc' param to 'vpc_id' to match documentation and convention
2016-05-23 10:42:11 -04:00
Ryan Sydnor
0ba34435cf Add encryption capability to AMI copy (#1409) 2016-05-23 10:39:02 -04:00
Brian Coca
eb6ba749c2 added return docs 2016-05-23 10:36:47 -04:00
Adam Števko
0d54d1ffe4 Add module for retrieving SmartOS image facts (#1276) 2016-05-23 10:35:55 -04:00
Brian Coca
ecee427cbc added note about behaviour change in 2.2 2016-05-23 10:35:03 -04:00
Leo Antunes
d54905ecee Allow multiple keys per host + minor improvements (#716)
* known_hosts: clarify key format in documentation

Add a small clarification to the documentation about the format of the
"key" parameter.
Should make #664 less of a issue for newcomers.

* known_hosts: normalize key entry to simplify input

Keys are normalized before comparing input with present keys. This
should make it easier to deal with some corner cases, such as having a
hashed entry for some host and trying to add it as non-hashed.

* known_hosts: allow multiple entries per host

In order to support multiple key types and allow the installed ssh
version to decide which is more secure, the module now only overwrites
an existing entry in known_hosts if the provided key is of the same
type.
Old keys of different types must be explicitly removed. Setting
state to "absent" and providing no key will remove all entries for the
host.
2016-05-23 10:33:52 -04:00
Rob
b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 2016-05-23 10:31:41 -04:00
Michael Scherer
a780dbf4e1 Port patch.py to python3/python2.4 syntax (#2276) 2016-05-23 09:44:57 -04:00
Hagai Kariti
7e08d01010 bigpanda: Remove docs using complex args (#2275)
As they're going to be deprecated, don't recommend using them.
2016-05-23 09:29:26 +02:00
Nicolas Landais
b11029adca Fix problem with 'restarted' state not restarting the apppool when it is in running state (#1451)
* Fix problem with 'restarted' state not restarting the apppool when it is in running state

* Implemeting code review comments

Comment from previous commit “You basically want to start the pool if
it's stopped and requested state is started or restarted, otherwise if
requested state is restarted, restart it.” This commit implements the
behavior stated in the PR comment
2016-05-20 17:31:46 -07:00
Corwin Brown
d2900e856b Add Win Robocopy module (#1078)
* Added more robust error handling

* Add Win Synchronize module

Renamed win_synchronize to win_robocopy

Updating email address

Adding "flags" argument.

Adding a "flags" argument that will allow the user to pass args
directly to robocopy.

If "flags" is set, recurse and purge will be ignored.

Add return code to output

Added bits to support check mode

Fixing typo in Documentation

Updated Documentation to have "RETURNED" field

Updated win_robocopy.py to have the RETURNED field. I also noticed
that win_robocopy.ps1 wasn't really using the "changed" attribute,
so I went in and made sure it was being set appropriately.

Forcing bool type for recurse and purge flag

Updated "version_added"
2016-05-20 17:25:24 -07:00
Mariano Lasala
3d54bdd4e1 Update sl_vm.py (#2267)
There was a mistype in DATACENTER list with 'lon2', changed to 'lon02'.
2016-05-21 00:39:17 +02:00
René Moser
cdffb36642 softlayer: fix module name in doc (#2266) 2016-05-21 00:38:48 +02:00
Brian Coca
29be1310e1 add missing author info 2016-05-20 09:19:23 -04:00
Orion Poplawski
14a0b7b9b7 Fix gw4/gw6 typo (#1841) 2016-05-20 08:46:52 -04:00
Hans-Joachim Kliemeck
896f6dcd34 blockinfile will always add newline at EOF (#2261) 2016-05-20 10:25:10 +02:00
Toshio Kuratomi
33f3612e5c Move running py3 compile test from whitelist to blacklist (#2254) 2016-05-19 15:22:39 -07:00
Alex
ce5a9b6c5f zypper: (Bugfix) Change command option --verbose to --details which is supported since 2008 (#2224) 2016-05-19 08:21:33 +02:00
Rob
8fb8ec2e98 Add idempotence to ec2_eni when private_ip_address is supplied (#2172) 2016-05-19 07:55:54 +02:00
Victor Costan
76dee3d872 Add sts_session_token module for short-lived AWS credentials. (#1988) 2016-05-18 11:13:49 -07:00
Victor Costan
010286aafd Add aws_mfa_devices module for multi-factor authentication on AWS. (#1987) 2016-05-18 11:10:52 -07:00
Toshio Kuratomi
2a5812a0e8 Move the import of get_exception to pycompat24 2016-05-18 06:23:10 -07:00
kubilus1
b742ab1263 Check to see existence of same named/location system before creation. (#2150) 2016-05-18 09:26:58 +02:00
Toshio Kuratomi
e710dc47fe Add vmware and lxc to python3 checks 2016-05-17 10:39:47 -07:00
Toshio Kuratomi
8ecc3d2516 Port vspherer_copy to pass syntax checks on python3 2016-05-17 10:39:23 -07:00
Michael Scherer
84ec0c8faf Port vca_nat and vca_fw to py3 compatible syntax (#2243)
Since they both depend on library that cannot run on python2.4,
cf https://github.com/ansible/ansible/pull/15870, we can use
directly the python 2.6 syntax, as seen on the porting doc.
2016-05-17 10:34:01 -07:00
Michael Scherer
c8864c3220 Use a python3 compatible notation for octal (#2238) 2016-05-17 10:33:12 -07:00
Michael Scherer
7e97b2131b Add support for checking module on python3, like on core (#2235) 2016-05-17 10:32:14 -07:00
Shubham
e91848dfd5 Fix broken link for issue template (#2248) 2016-05-17 10:40:10 -04:00
Ricardo Carrillo Cruz
4856fa6adf Fix CI due to missing __init__.py on f5 folder (#2247)
The CI for extras is failing on ansible-validate-modules due
to f5 folder missing __init__.py.
Adding an empty one to fix it.
2016-05-17 13:25:40 +02:00
Daniel Vigueras
735c1b6219 Add insert support to iptables. (#1180)
Add insert support to iptables.
2016-05-16 16:25:52 -04:00
Michael Perzel
677a2dd66d Module to manage f5 virtual servers 2016-05-16 16:02:29 -04:00
Sergei Antipov
33281cc93e Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
2016-05-16 11:25:52 -04:00