Commit Graph

352 Commits (ea8cb33338618a79b23435eb852e8bc64a1d5da0)

Author SHA1 Message Date
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
8 years ago
Ryan Brown 7ffd42f727 Merge pull request #1901 from linuxdynasty/kinesis_streams
Add `kinesis_stream` module to create/delete/update AWS Kinesis streams
8 years ago
Allen Sanabria 950d76af0b fixed error message for releasing an ip when not waiting for the nat gateway to delete successfully 1st 8 years ago
Allen Sanabria dcf4d7e6e5 fail_json when error and not exit_json 8 years ago
Allen Sanabria 123c70546e clean up documentation 8 years ago
Allen Sanabria ab62c644bc updated catch statement to pass test (as e) 8 years ago
Allen Sanabria 8af1063785 Make sure to catch if no gateways exist 8 years ago
Allen Sanabria 4e8e38f631 remove boto 8 years ago
Allen Sanabria 2e42c72447 version bump 8 years ago
Allen Sanabria 79ea553200 Module requires boto due to ec2.py 8 years ago
Allen Sanabria aa189b8d98 Added default result of None in catch statement 8 years ago
Allen Sanabria ee523be26c Updated module to be compliant with test cases.
* Added integration tests
* Added unit tests
8 years ago
Allen Sanabria 349db85b00 Fixed the missing argument to get_eip_allocation_id_by_address 8 years ago
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.
8 years ago
Brian Coca f6841eb51f send json string to api instead of dict 8 years ago
Brian Coca 6402d36af3 now using type=json which takes care of str/dict 8 years ago
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
8 years ago
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.
8 years ago
Matt Clay 651a25f1a3 Remove duplicate requirements. 8 years ago
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 8 years ago
Allen Sanabria 8a17506058 version bump 8 years ago
Allen Sanabria 7cacd7dd2a Module requires boto due to ec2.py 8 years ago
Allen Sanabria 72988aab14 updated module to accept check_mode in every boto call 8 years ago
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.
8 years ago
Allen Sanabria 988f468457 Added test to kinesis_stream module.
* Update kinesis_stream based on tests.
* Added tests for kinesis_stream.
8 years ago
Allen Sanabria 514e285d1a update doc string 8 years ago
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.
8 years ago
Ryan S. Brown 1a7d26a1b8 iam_server_certificate_facts: Correct call to `get_server_certs` 8 years ago
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.
8 years ago
Allen Sanabria 4615a6cc76 iam_server_certificate_facts: change `except` to python 2.6 syntax 8 years ago
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.
8 years ago
John Kerkstra d5ebe033e3 ec2_vpc_route_table: fixes: #2377 (#2421)
fixed fatal error when propagating_vgw_ids is None
9 years ago
Abhijit Menon-Sen dcb1ab6bed Merge pull request #1509 from hslee16/devel
adding public ip address to ec2_remote_facts
9 years ago
Constantin 602915c264 Documented returned structure. (#2510) 9 years ago
Stephen Granger 2490f87522 Included an example using the jinja 2 map function to return a list of (#2458)
subnet_ids.
9 years ago
Brad Davidson 8319d935ca New module ec2_vpc_nacl_facts 9 years ago
Ryan Brown ac8e3f18a3 Merge pull request #1599 from jmunhoz/s3-bucket-ceph
Add Ceph RGW S3 compatibility
9 years ago
nitzmahone 709114d55f fix ec2_vpc_vgw exception handling issues 9 years ago
James Cammarata d5a3f5ec5f Merge pull request #1709 from naslanidis/new_aws_module_ec2_vpc_vgw
New aws module for ec2 vpc virtual gateways
9 years ago
Stefan Horning 1da89cd5a1 Get EIP association information for ENI if EIP is associated (#2082) 9 years ago
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>
9 years ago
Javier M. Mellid 78b4829623 Adapt exception syntax to work under python3 in s3_bucket.py
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years ago
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>
9 years ago
Rob 65fe9eb2b0 Add boto3 support to ec2_eni_facts (#2425) 9 years ago
Constantin 062c7607a4 Added block_device_mapping in the returned output (#1553) 9 years ago
Rob 0e9a820628 Use helper function for new module and rename (#2277) 9 years ago
Alex Lee 9391103f01 correcting spelling mistake 9 years ago
Alex Lee 62d7ded9ba adding public ip address 9 years ago
Nicolas Boutet 473e5d7969 Fix typo in documentation (#2359) 9 years ago
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
9 years ago