Commit graph

353 commits

Author SHA1 Message Date
Jose Armesto
db463e44b3 Added module to find Launch Configurations (#1023)
* Added module to find Launch Configurations

* Simplified parameters to search
2016-08-11 11:16:16 -07:00
Fernando José Pando
c600334a9d elb facts fixup (#2099)
* elb facts fixup

* return tags and logic fixup

* return tags and dont fail on nonexisting elb name
2016-08-10 09:01:31 +02:00
Ryan Brown
7ffd42f727 Merge pull request #1901 from linuxdynasty/kinesis_streams
Add `kinesis_stream` module to create/delete/update AWS Kinesis streams
2016-08-09 16:29:28 -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
123c70546e clean up documentation 2016-08-04 13:00:35 -07: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
Brian Coca
f6841eb51f send json string to api instead of dict 2016-07-28 15:19:14 -04:00
Brian Coca
6402d36af3 now using type=json which takes care of str/dict 2016-07-27 11:39:09 -04:00
Brian Coca
df79ca6352 fixes and refactoring of s3_bucket
policy should now accept and handle correctly both data structures or JSON strings
removed unused tag_set var
refactored code to make conditions clearer
rebased to allow for ceph changes, left ceph update on todo list
2016-07-27 11:39:09 -04:00
Kaz Cheng
db979dde74 Fix a number of issues around detecting nat gateways, how (#1511)
routes_to_delete is detected, propagating_vgw_ids and checking if
gateway_id exists.
2016-07-25 21:48:27 +02:00
Matt Clay
651a25f1a3 Remove duplicate requirements. 2016-07-21 13:04:15 -04:00
Allen Sanabria
e9f7fb0927 Now when number of shards is different than what is the stream currently, it will fail.\n\nShards can not be changed on an already created stream 2016-07-14 16:57:47 -07:00
Allen Sanabria
8a17506058 version bump 2016-07-14 13:46:57 -07:00
Allen Sanabria
7cacd7dd2a Module requires boto due to ec2.py 2016-07-14 13:46:57 -07:00
Allen Sanabria
72988aab14 updated module to accept check_mode in every boto call 2016-07-14 13:46:57 -07:00
Allen Sanabria
8c1277a8b7 Removed test as they will not be ran by Ansible.
* I will include tests in my personal repo which will contain all
modules written by me with their associated tests.
2016-07-14 13:46:57 -07:00
Allen Sanabria
988f468457 Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
2016-07-14 13:46:57 -07:00
Allen Sanabria
514e285d1a update doc string 2016-07-14 13:46:57 -07:00
Allen Sanabria
4e1c3a58b3 Create, Delete, and Modify a Kinesis Stream.
* Create a Kinesis Stream.
* Tag a Kinesis Stream.
* Update the Retention Period of a Kinesis Stream.
* Delete a Kinesis Stream.
* Wait for a Kinesis Stream to be in an ACTIVE State.
2016-07-14 13:46:57 -07:00
Ryan S. Brown
1a7d26a1b8 iam_server_certificate_facts: Correct call to get_server_certs 2016-07-14 16:24:51 -04:00
Allen Sanabria
f36ec115fc iam_server_certificate_facts: list all certs
If a server name isn't passed, retrieve all server certificates by
default. Change return value to a dict with the server_cert_name being
the key.
2016-07-14 16:23:49 -04:00
Allen Sanabria
4615a6cc76 iam_server_certificate_facts: change except to python 2.6 syntax 2016-07-14 16:22:40 -04:00
Allen Sanabria
c574dbee54 iam_server_certificate_facts: Retrieve attributes from server certificate
This module will allow you to retrieve all the attributes
related to a server certificate.
2016-07-14 16:22:21 -04:00
John Kerkstra
d5ebe033e3 ec2_vpc_route_table: fixes: #2377 (#2421)
fixed fatal error when propagating_vgw_ids is None
2016-07-08 00:43:12 +02:00
Abhijit Menon-Sen
dcb1ab6bed Merge pull request #1509 from hslee16/devel
adding public ip address to ec2_remote_facts
2016-07-02 15:02:23 +05:30
Constantin
602915c264 Documented returned structure. (#2510) 2016-07-01 10:56:03 +02:00
Stephen Granger
2490f87522 Included an example using the jinja 2 map function to return a list of (#2458)
subnet_ids.
2016-06-30 07:16:05 +02:00
Brad Davidson
8319d935ca New module ec2_vpc_nacl_facts 2016-06-27 12:36:33 -07:00
Ryan Brown
ac8e3f18a3 Merge pull request #1599 from jmunhoz/s3-bucket-ceph
Add Ceph RGW S3 compatibility
2016-06-27 13:14:07 -04:00
nitzmahone
709114d55f fix ec2_vpc_vgw exception handling issues 2016-06-22 17:26:41 -07:00
James Cammarata
d5a3f5ec5f Merge pull request #1709 from naslanidis/new_aws_module_ec2_vpc_vgw
New aws module for ec2 vpc virtual gateways
2016-06-22 13:39:50 -05:00
Stefan Horning
1da89cd5a1 Get EIP association information for ENI if EIP is associated (#2082) 2016-06-20 13:10:56 -04:00
Javier M. Mellid
2c1530b647 Imports should be near the top of the file
Prior to 2.1, imports of module_utils was actually a preprocessor-like
substitution. So importing at the bottom helped preserve line numbers when
debugging. We'll be moving these to the top of files as time goes on.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:09 +02:00
Javier M. Mellid
78b4829623 Adapt exception syntax to work under python3 in s3_bucket.py
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:06 +02:00
Javier M. Mellid
a87b2e38a0 Add Ceph RGW S3 compatibility
Ceph Object Gateway (Ceph RGW) is an object storage interface built on top of
librados to provide applications with a RESTful gateway to Ceph Storage
Clusters:

http://docs.ceph.com/docs/master/radosgw/

This patch adds the required bits to handle buckets with the RGW S3 RESTful API
properly.

It sticks to the AWS behaviour where possible while avoiding not yet
implemented features in the Ceph RGW API.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:01 +02:00
Rob
65fe9eb2b0 Add boto3 support to ec2_eni_facts (#2425) 2016-06-14 22:09:54 +02:00
Constantin
062c7607a4 Added block_device_mapping in the returned output (#1553) 2016-06-13 13:43:38 -04:00
Rob
0e9a820628 Use helper function for new module and rename (#2277) 2016-06-08 10:43:53 -07:00
Alex Lee
9391103f01 correcting spelling mistake 2016-06-08 08:59:35 -07:00
Alex Lee
62d7ded9ba adding public ip address 2016-06-08 08:59:35 -07:00
Nicolas Boutet
473e5d7969 Fix typo in documentation (#2359) 2016-06-02 09:55:27 +02:00