Commit graph

477 commits

Author SHA1 Message Date
Brian Coca
cb90735b2a Merge pull request #1795 from feanil/feanil/s3_overwrite_early
If overwrite is set, download eagerly.
2015-07-27 22:34:58 -04:00
Brian Coca
f4a17b3e97 Merge pull request #1802 from bcoca/ec2_fixes
ec2 fixes
2015-07-27 15:48:02 -04:00
Toshio Kuratomi
8a9405a55b Convert object into dict so it will turn into json properly 2015-07-27 11:04:58 -07:00
Brian Coca
481f300836 clarified error messages to actually give back ansible module option instead of internal boto field name 2015-07-24 23:32:41 -04:00
Jens Carl
fd0fc5131c Fix missing alias "groups". 2015-07-24 22:06:56 +00:00
Scot Spinner
abf2083671 one thing missed 2015-07-24 14:11:53 -07:00
Scot Spinner
b47bbfad1b merging with ansible devel 2015-07-24 14:10:20 -07:00
Feanil Patel
22461e335a If overwrite is set, download eagerly.
If the we are going to overwrite the file anyway,
there is no need to do any checksums locally or
grab the remote etag.
2015-07-24 10:44:05 -04:00
khassen
5f2b365faa Use the common/shared MD5 function. 2015-07-23 13:58:43 -07:00
Brian Coca
cfe697f676 Merge pull request #1775 from arcz/patch-1
Fix typos in route53.py
2015-07-22 16:47:18 -04:00
billwanjohi
99e3881a7c iam: don't delete passwords by default 2015-07-22 20:46:42 +00:00
Toshio Kuratomi
222927256d Remove validate_certs as the url is not user settable so we always want to validate the certificate 2015-07-22 07:09:51 -07:00
Artur Cygan
2133cb1171 Update route53.py
Fix typos
2015-07-22 11:36:32 +02:00
Baraa Basata
dc9dfa9ef8 Fix iam_policy example 2015-07-22 00:03:33 -04:00
Brian Coca
55bc9e8fb1 added rickmendes as maintainer 2015-07-20 22:37:02 -04:00
ayush
3f7313cc43 Updated doc strings so each character isn't considered a line 2015-07-20 17:05:10 -07:00
Toshio Kuratomi
01f8a99509 Deprecated _ec2_ami_search now verifies SSL certificates 2015-07-20 13:38:37 -07:00
Brian Coca
5fcc0be25b Merge pull request #1740 from bcoca/ec2_key_check_fix
attempt to fix check mode when state='absent'
2015-07-18 23:13:03 -04:00
Brian Coca
db19999185 minor doc fixes, version added for latest feature 2015-07-17 23:13:21 -04:00
Brian Coca
ab9d4eb25d Merge pull request #146 from axialops/rds-reboot
rds module: add command to reboot RDS instance
2015-07-17 23:09:07 -04:00
Herby Gillot
048cfb857d rds: add the ability to reboot RDS instances 2015-07-17 21:09:34 -04:00
Brian Coca
5650ed7ec3 Merge pull request #1476 from haad/ec2_elb_lb_sg_name
Add security_group_names paramter to ec2_elb_lb
2015-07-17 20:31:09 -04:00
Brian Coca
e75235c063 Merge pull request #1628 from wimnat/feature/ec2_vpc_net
ec2_vpc_net refactor
2015-07-17 17:01:49 -04:00
Eero Niemi
3533f39534 Fixed parameter validation when creating a volume from a snapshot 2015-07-17 16:54:39 +03:00
whiter
dc71c04827 Added 'resource_tags' alias 2015-07-17 15:54:17 +10:00
Brian Coca
24c2bccd66 corrected version_added 2015-07-17 01:11:18 -04:00
Brian Coca
a9e8cae82e attempt to fix check mode when state='absent' 2015-07-16 11:37:22 -04:00
HAMSIK Adam
e3d4256283 Use mutually_exclusive in AnsibleModule 2015-07-15 10:45:38 +02:00
HAMSIK Adam
6d6da470c8 Fix missing , 2015-07-15 10:41:14 +02:00
HAMSIK Adam
959c65c7e0 Add version 2015-07-15 10:41:14 +02:00
HAMSIK Adam
985cdf2c28 Add module parameter for security group name. This make ec2_elb_lb module consitent with others 2015-07-15 10:41:14 +02:00
Brian Coca
b80ec0a335 fixed minor doc issues 2015-07-14 16:55:21 -04:00
Brian Coca
e1067ef670 Revert "Revert "ec2_lc - include all launch config properties in the return"" 2015-07-14 12:02:03 -04:00
Brian Coca
01d4c432b0 Revert "ec2_lc - include all launch config properties in the return" 2015-07-14 11:39:40 -04:00
Frank van Tol
300656ca07 Remove default port value, it does not work in _requires_destroy_and_create logic
When creating a Redis cluster, every run it gets destroyed and recreated because the port number of memcached is used as the default.
2015-07-13 17:21:16 +02:00
Frank van Tol
a85640c368 Update elasticache.py 2015-07-13 16:52:30 +02:00
Frank van Tol
a7f33ee533 Remove default for engine_version
Redis and memcached have different engine version numbering, there can not be a shared default value.
2015-07-13 16:45:41 +02:00
Benno Joy
63fa06f477 Merge pull request #1385 from joelthompson/devel
Adding ability to filter AWS Route 53 private hosted zones by attache…
2015-07-12 16:36:59 +05:30
Brian Coca
b38f0a34d2 Merge pull request #1702 from askulkarni2/devel
s3 module: Add missing version tag to "encrypt" parameter
2015-07-10 20:44:19 -04:00
Brian Coca
fb260f4cc2 Merge pull request #1698 from evanccnyc/devel
Adding default cooldown to AWS ASG
2015-07-10 20:21:20 -04:00
Apoorva Kulkarni
c0e4c50eeb s3 module: Add missing version tag to "encrypt" parameter 2015-07-10 14:56:34 -07:00
Joel Thompson
10df7b97ee Adding ability to filter AWS Route 53 private hosted zones by attached VPC 2015-07-10 13:51:33 -04:00
Evan Carter
68bd17b15e Adding default cooldown to AWS ASG 2015-07-09 15:29:00 -04:00
vanga
164043bd6d Throw error if encryption is set while passing a snapshot id 2015-07-09 20:42:54 +05:30
Brian Coca
5ec040a1d2 Merge pull request #1680 from Pallokala/topic_ec2_volume_default_encryption_flag_value_to_None
Change the default flag value to None to prevent AWS complaining: "In…
2015-07-08 22:36:13 -04:00
Brian Coca
12fbc4712f Merge pull request #1646 from flyte/rds2-snapshot-on-delete
Provide correct kwargs to rds2 connection when making a final snapshot
2015-07-07 10:23:57 -04:00
Juho-Mikko Pellinen
b4911a47d1 Change the default flag value to None to prevent AWS complaining: "Instance creation failed => InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified." 2015-07-07 16:31:47 +03:00
Juho-Mikko Pellinen
041dc8b587 Remove empty aliases 2015-07-06 13:08:46 +03:00
Juho-Mikko Pellinen
228c03bd67 Add version number 2015-07-06 13:07:33 +03:00
Juho-Mikko Pellinen
f0ad6c5a1f Fix hosted_zone_id after rebase. 2015-07-06 13:02:24 +03:00
Juho-Mikko Pellinen
71ebe6321b Add support for specifying unique hosted zone identifier 2015-07-06 11:31:02 +03:00
Juho-Mikko Pellinen
110f618487 Add support for specifying unique hosted zone identifier 2015-07-06 11:29:03 +03:00
Brian Coca
52543435d6 Merge pull request #1562 from micxer/iam_policy-json-string
Add the option to pass a string as policy
2015-07-04 19:11:34 -04:00
Brian Coca
981f0ad481 Merge pull request #1635 from smiller171/devel
update docs for cloudformation
2015-07-04 16:19:28 -04:00
Scott Miller
c3c2e6ab72 Update cloudformation.py
Fix for inaccurate phrasing
2015-07-04 14:45:21 -04:00
Mike Putnam
6c0e264806 Add missing GPLv3 License header
Fixes #1643
2015-07-03 22:57:53 -05:00
Brian Coca
17bb405578 Merge pull request #1659 from mikeputnam/fix-docs-descrepancy
Upstream docs show launch_config_name as required.
2015-07-03 22:46:49 -04:00
Toshio Kuratomi
ac3024e57e Merge pull request #1620 from robbwagoner/ec2_elb_lb_instances
return health of instances and counts
2015-07-02 10:58:02 -07:00
Robb Wagoner
8f0d462fd0 remove double dict & fix increment bug 2015-07-02 06:16:43 -07:00
Flyte
3d9a8caa59 Provide correct kwargs to rds2 connection when making a final snapshot 2015-07-02 09:32:10 +01:00
whiter
ee782d822b Fixed dicts comparison for tags 2015-07-02 15:24:39 +10:00
Mike Putnam
5c17a99a1c Upstream docs show launch_config_name as required.
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_AutoScalingGroup.html

Fixes #11209

Ansible behavior is correct, this commit just updates the docs to
reflect that correctness.
2015-07-01 20:58:17 -05:00
Toshio Kuratomi
c71f85377d Merge pull request #1637 from defionscode/quick_iam_patch
no_log to iam password
2015-07-01 08:13:44 -07:00
Toshio Kuratomi
8f13f8851f Merge pull request #1582 from evanccnyc/devel
Add ClassicLink settings to EC2_launchconfig
2015-07-01 07:49:20 -07:00
Toshio Kuratomi
8f74a73713 Merge pull request #1561 from micxer/iam_policy-fix
Fix connection creation in iam_policy module to allow usage of profiles with boto
2015-06-30 13:39:32 -07:00
Ash Caire
3ccf2e8a86 add headers param to s3 uploads 2015-06-30 23:04:15 +10:00
Toshio Kuratomi
406402bb26 Merge pull request #332 from proby/add-s3-list
Add support for listing keys in a specific S3 bucket
2015-06-30 04:58:58 -07:00
Michael Weinrich
4da3a724f1 Fix connection creation to allow usage of profiles with boto 2015-06-30 08:51:36 +02:00
Brian Coca
79ad99bc67 Merge pull request #497 from robbwagoner/ec2_lc_user_data
ec2_lc - include all launch config properties in the return
2015-06-30 00:26:38 -04:00
Brian Coca
8b290c6274 Merge pull request #831 from j-carl/feature-route53-nameserver
List the name servers of a zone. Fixes #801
2015-06-30 00:11:11 -04:00
Toshio Kuratomi
7edacf6b1c Use module.fail_json() instead of sys.exit() 2015-06-29 13:26:21 -07:00
Jonathan Davila
def5fdcb21 no_log to iam password 2015-06-29 15:14:50 -04:00
Scott Miller
692045f693 update docs for cloudformation 2015-06-29 14:15:23 -04:00
whiter
786ec1dca1 ec2_vpc_net refactor 2015-06-29 09:32:45 +10:00
Robb Wagoner
5e674ddcfc include all launch config properties in the return
make all properties available when registering the result
which is useful when wanting to launch a stand-alone instance based upon
an existing Launch Config.
2015-06-26 15:51:41 -07:00
Robb Wagoner
d651b41691 return health of instances and counts 2015-06-26 15:39:08 -07:00
Brian Coca
e864576f14 Merge pull request #1133 from defionscode/ec2_vpc2
New vpc module. does not contain subnet or route table functionality.
2015-06-26 16:15:15 -04:00
Patrick Roby
e90d02c35c iterate through all keys in a more pythonic manner 2015-06-25 10:37:17 -07:00
Patrick Roby
8ba96aaf4b update documentation, adding new params 2015-06-25 10:36:07 -07:00
Toshio Kuratomi
f42fed3d70 Merge pull request #1587 from micxer/iam-fix
Use aws connect calls that allow boto profile use
2015-06-25 08:23:54 -07:00
Toshio Kuratomi
d824a7a9f5 Merge pull request #255 from SDFE/s3_connect_params
Use aws connect calls that allow boto profile use
2015-06-25 08:23:15 -07:00
Patrick Roby
00322c43fc Add support for listing keys in a specific S3 bucket
Includes support for specifying a prefix, marker, and/or max_keys. Returns a list of key names (as strings).
2015-06-24 12:18:23 -07:00
James Cammarata
65c63b3afa Updating version_added for new spot_type param in ec2 module
Also made sure 'choices' were set on the module param, to catch errors
in user's playbooks, etc.
2015-06-24 14:43:04 -04:00
Jay Taylor
dbed8cee3b Added support for spot request type specification (to support persistent spot requests). 2015-06-24 08:23:52 -07:00
Evan Carter
73d5a8a63a Fixing typo 2015-06-24 11:05:37 -04:00
Michael Weinrich
559ad374f5 Add the option to pass a string as policy 2015-06-24 12:03:01 +02:00
zimbatm
29b00ba526 route53: add support for routing policies
It is now possible to pass various routing policies if an identity is
provided.

This commit also introduces multiple optimisations:
* Only fetch records for the given domain
* Use UPSERT instead of DELETE+CREATE to update existing records
2015-06-24 10:43:49 +01:00
Michael Weinrich
56d4f21c5f Use aws connect calls that allow boto profile use 2015-06-24 11:20:47 +02:00
Benno Joy
3d8bf111b5 Merge pull request #1583 from civisanalytics/iam_accept_sts
iam: use modern helper to allow sts
2015-06-24 09:18:49 +05:30
Benno Joy
54bfdee1e0 Merge pull request #1494 from toninog/devel
fixes to iam group variables and delete group fixes
2015-06-24 08:32:47 +05:30
Benno Joy
80622a005d Merge pull request #918 from defionscode/iam_cert
iam certificate module
2015-06-24 08:29:33 +05:30
billwanjohi
33533eb156 iam: use modern helper to allow sts
previous implementation ignored the session token when present
2015-06-23 18:42:30 +00:00
Jonathan Davila
7dac96e41b iam certificate module
boto import tweak

style patch
2015-06-23 14:41:18 -04:00
Jonathan Davila
c6f9e08282 new vpc module. does not contain subnet or route table functionality.
changed name to ec2_vpc_net

refactored out IGW functionality
2015-06-23 14:33:06 -04:00
Evan Carter
207abb6f5c Add ClassicLink settings to EC2_launchconfig 2015-06-23 14:11:58 -04:00
Toshio Kuratomi
a1538b490e Fix documentation 2015-06-23 08:57:06 -07:00
Benno Joy
5f6128a300 Merge pull request #205 from amandolo/ec2_module
AWS "EC2 instance" termination_protection and source_dest_check changeability at run-time + block_device_mapping output
2015-06-23 11:56:06 +05:30
Andrea Mandolo
fe4884e8f0 Added some block_device_mapping (disks) informations to EC2 instance module ouput 2015-06-23 07:14:54 +02:00
Andrea Mandolo
2f8300087e Added "EC2 instance" termination_protection and source_dest_check changeability at run-time 2015-06-23 07:14:30 +02:00
Tom Paine
74d9f74536 Parse out space characters in route53 value list
Fixes: https://github.com/ansible/ansible-modules-core/issues/992
2015-06-22 14:52:45 +01:00
Brian Coca
dddb8f9df1 Merge pull request #1548 from freshbooks/ec2_vol_example_fixes
Indentation fix for with and register in the ec2_vol example
2015-06-19 13:08:01 -04:00
Colin Hutchinson
96d2c09457 Indentation fix for with and register in the ec2_vol example 2015-06-18 11:48:27 -04:00
Philip Kirkland
274abb96b1 adding 'encrypted' option into volume dict so ec2 module can easily include encrypted volumes 2015-06-17 14:33:37 +10:00
Benno Joy
351fca028f Merge pull request #1202 from nitzmahone/ec2_state_validation
Added choice validation for EC2 state arg
2015-06-17 07:54:13 +05:30
Brian Coca
898e338318 minor doc fixes 2015-06-16 18:56:24 -04:00
nitzmahone
fd7bbc9eba Added choice validation for state arg
fixes traceback on invalid state arg
2015-06-16 13:42:44 -07:00
Benno Joy
8a998ae76f Merge pull request #1465 from hkariti/ec2_vol_delete_race_condition
ec2_vol: fix race condition when deleting a volume
2015-06-16 10:52:42 +05:30
Greg DeKoenigsberg
28a869a030 Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
Brian Coca
05a2ef106f Merge pull request #326 from preo/ec2-eip-refactor
Refactor and improve the EC2 Elastic IP module.
2015-06-15 10:05:28 -04:00
Brian Coca
1d7e80499b Merge pull request #324 from preo/ec2-vpc-sg-param-check
Validate Security Group rule parameter names for ec2_group module.
2015-06-15 09:45:17 -04:00
Tyler Cross
de617bb3ae Get specific object version with S3 module.
- allow specifying version for mode=get and mode=getstr
- when version specified doesn't exist give an error message that indicates so
2015-06-15 07:43:29 -04:00
Robert Estelle
942f0ce96c Fix missing instance_id param in ec2_eip. 2015-06-14 16:11:33 -04:00
Robert Estelle
063d3d97c6 Remove unnecessary wait_timeout parameter. 2015-06-14 16:11:33 -04:00
Robert Estelle
c36e8947bc Refactoring of ec2_eip module. 2015-06-14 16:11:28 -04:00
Robert Estelle
17c1fa0872 ec2_eip - PEP8 and minor style cleanups. 2015-06-14 16:01:49 -04:00
Robert Estelle
9b7de40922 EC2 Security Group - Validate parameters. 2015-06-14 15:35:41 -04:00
Brian Coca
acfa1b4c39 Merge pull request #1464 from qrtt1/devel
Prevent s3 module getting the memory-error from uploading or downloading a large file
2015-06-12 13:53:50 -04:00
Brian Coca
7f12130d7a fixed version added 2015-06-12 10:39:47 -04:00
Brian Coca
20b1593ae0 Merge pull request #418 from amandolo/ec2_ami_module
Add "block_device_mapping" parameter on EC2_AMI Amazon module
2015-06-12 10:34:06 -04:00
Benno Joy
9fb4a2ee5c Merge pull request #914 from Jimdo/add_sns_notifications_to_cloudformation
Add support for SNS notification ARNs in CloudFormation
2015-06-12 20:01:31 +05:30
Soenke Ruempler
bb8e9563cf Add support for SNS notification ARNs in CloudFormation 2015-06-12 14:34:18 +02:00
Andrea Mandolo
0b0d972998 Add "block_device_mapping" parameter on EC2_AMI Amazon module (DOCUMENTATION) - upgraded 2015-06-12 09:07:27 +02:00
Andrea Mandolo
1e4bd62af5 Add "block_device_mapping" parameter on EC2_AMI Amazon module - ugraded 2015-06-12 09:03:29 +02:00
Bruce Pennypacker
51bc602f42 Added delobj command to delete an object within a bucket 2015-06-11 13:43:15 +00:00
Benno Joy
e7203514ea Merge pull request #870 from tpounds/fix-issue-869
Instance deregistration should try all associated ELBs. Fixes #869
2015-06-10 18:15:55 +05:30
Benno Joy
85e9ccd17b Merge pull request #1030 from jsmartin/asg_rolling_optimizations
ec2_asg: Streamlined rolling udpate algorithm.
2015-06-10 17:44:06 +05:30
Benno Joy
b9d0185cd8 Merge pull request #959 from wimnat/hotfix/issue-958
Fixes rds_subnet_group never reports changed
2015-06-10 08:39:19 +05:30
toninog
fccc925ec5 fixes to code to enable updates of user to groups and delete groups. Fixed example yaml to use groups 2015-06-09 15:27:15 +01:00
Brian Coca
92a4512b0b Merge pull request #887 from defionscode/iam_policy
iam_policy
2015-06-09 09:59:05 -04:00
Benno Joy
2562f72183 Merge pull request #859 from tpounds/fetch-asg-elbs
Use auto scaling group managed ELBs if present.
2015-06-09 10:01:02 +05:30
Trevor Pounds
4b9b047878 Use auto scaling group managed ELBs if present. 2015-06-08 21:24:57 -07:00
Benno Joy
c25fe3438b Merge pull request #737 from raags/devel
Creating ami should be idempotent
2015-06-09 09:07:05 +05:30
Alex Gandy
b91a232fe6 Added volumes dict to ec2_lc example 2015-06-08 12:01:27 -04:00
Benno Joy
f5bafe2463 Merge pull request #355 from h3biomed/route_table_tags
ec2_vpc module: add route table resource tagging
2015-06-08 19:04:54 +05:30
toninog
9f3658d901 Fixed bug in example where updating a user to a group
Fixed bug in create_group and update_group whereby paramaters were not being set correctly.
2015-06-08 13:55:24 +01:00
Hagai Kariti
fb4732fad2 ec2_vol: fix race conditions because we handle errors before actually deleting
Just try to delete the volume and handle the error amazon sends
2015-06-07 10:16:33 +03:00
Brian Coca
32102f7e69 Merge pull request #1472 from bennojoy/fix_11177
fix for 11177 where module readds rule even if the rules exists
2015-06-05 19:09:18 -04:00
Brian Coca
fc255fbd21 minor doc fixes 2015-06-05 14:09:02 -04:00
Brian Coca
cae1f30e95 Merge pull request #756 from defionscode/iam_module
iam_module
2015-06-05 13:58:50 -04:00
Jonathan Davila
801a5e8ed0 iam module with fixes
iam module. fix policy issue.

bugfix

allow for modifying path without declaring new_path
2015-06-05 13:51:27 -04:00
Brian Coca
f5ff5ba348 reverting pep changes that were breaking documentation 2015-06-05 12:01:10 -04:00
Ching Yi, Chan
1517ae8ab2 Refactoring for easier to read 2015-06-05 23:29:11 +08:00
Brian Coca
837bd04f95 minor doc fixes 2015-06-05 10:25:25 -04:00
Brian Coca
182e7c7fc6 made non exec 2015-06-05 10:19:41 -04:00
Brian Coca
37ecabbf6a Merge pull request #1137 from timmahoney/elasticache_subnet_group_management
Elasticache subnet group management
2015-06-05 10:12:24 -04:00
Benno Joy
6b9e9fe05d fix for 11177 where module readds rule even if the rules exists 2015-06-05 12:31:59 +05:30
Tim Mahoney
8c13ac894a Elasticache Subnet Group 2015-06-04 14:40:05 -04:00
Ching Yi, Chan
ed5ea7e921 Prevent memory-error from a large file 2015-06-04 14:28:57 +08:00
Sankalp Khare
f9f17b5e04 Fixed a typo in ec2_vpc module documentation 2015-06-04 03:40:49 +05:30
Brian Coca
273abeb8ee Merge pull request #1435 from civisanalytics/cloudformation_yaml
cloudformation: accept local templates in yaml format
2015-06-03 08:52:10 -04:00