Commit graph

331 commits

Author SHA1 Message Date
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
Stefan Horning
8e20fcfafe Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)
* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
2016-05-28 01:56:02 +02:00
Toshio Kuratomi
5b2bf6f08a Fix python3 syntax compilation 2016-05-25 11:48:16 -07:00
Mike Mochan
698d2a55c5 update remote tags if changed 2016-05-25 11:46:31 -07:00
Mike Mochan
cab7437e32 added tagging for the remote account 2016-05-25 11:46:31 -07:00
Mike Mochan
9a303f1628 Updates to version and requirements 2016-05-25 11:46:31 -07:00
Mike Mochan
2934495efc Added tagging functionality 2016-05-25 11:46:31 -07:00
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
Fernando José Pando
0d8eefe197 fixup sns topic subscriptions (#2232)
* fixup sns topic subscriptions

* return docs
2016-05-23 11:39:20 -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
Rob
b9ab1f9f5c Add section on how to return boto3 CamelCased results (#2279) 2016-05-23 10:31:41 -04: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