Commit graph

357 commits

Author SHA1 Message Date
Rene Moser
ea56151a67 ec2_vpc_dhcp_options: doc fix, add version_added to new args
See #1640
2016-03-19 14:06:54 +01:00
René Moser
5e63d9fb71 Merge pull request #1640 from andynelson/ec2_vpc_options
Updated ec2_vpc_dhcp_options
2016-03-19 14:03:27 +01:00
René Moser
baa702da87 Merge pull request #1726 from kaczynskid/feature/ecs_service_fixes
ecs_service module fixes
2016-03-19 13:47:46 +01:00
René Moser
be03691945 Merge pull request #1727 from kaczynskid/feature/ecs_service_facts_fixes
ecs_service_facts fixes
2016-03-19 13:45:50 +01:00
Dennis Conrad
9acc141082 Fix for existing ENIs w/ multiple security groups
Do a sorted comparison of the list of security groups supplied via `module.params.get('security_groups')` and the list of security groups fetched via `get_sec_group_list(eni.groups)`.  This fixes an incorrect "The specified address is already in use" error if the order of security groups in those lists differ.
2016-03-17 17:08:40 +00:00
René Moser
f62fe7c55b Merge pull request #1733 from skinlayers/devel
Fixes route53_facts to use max_items parameter with record_sets query.
2016-03-16 23:08:32 +01:00
René Moser
a16c9a74f6 Merge pull request #1751 from nonshankus/additional-elb-facts
Adding missing attributes regarding the hosted zone. / Fixes #1549
2016-03-16 22:51:38 +01:00
Darek Kaczyński
c553e70ed2 Removed debug return values 2016-03-09 14:37:06 +01:00
Rob White
ce9aed9c52 Allow SNS topics to be created without subscriptions. Also added better error handling around boto calls. 2016-03-08 20:59:44 +11:00
Nick Aslanidis
2f56b3c8b4 corrected invalid tag description for CI checks 2016-03-06 16:41:34 +10:00
Nick Aslanidis
9eb9d1c74b corrected required to be bool instead of list 2016-03-06 16:36:13 +10:00
Nick Aslanidis
fa8eb632f8 attempt to fix doc fragment 2016-03-06 16:15:38 +10:00
Nick Aslanidis
26e2c1bf11 updated extends_documentation_fragment and final cr 2016-03-06 16:09:14 +10:00
Brian Coca
30ba3a97ed Merge pull request #1723 from kaczynskid/feature/ecs_task_fixes
ecs_task module documentation fixes
2016-03-03 18:47:08 -05:00
Fernando J Pando
1e05ee5b3b author added 2016-03-02 12:30:07 -05:00
Andy Nelson
2a082deca8 Updated ec2_vpc_dhcp_options 2016-03-01 23:42:08 +00:00
Matt Martz
f5329eb337 Don't call sys.exit in sns_topic, use HAS_BOTO to fail 2016-03-01 14:22:28 -06:00
Matt Martz
7df0aff7dd DOCUMENTATION fixes for a few modules 2016-03-01 14:22:08 -06:00
nonshankus
738f4cb27d Adding missing attributes regarding the hosted zone. 2016-02-28 14:36:56 +01:00
Matt Ferrante
c5ce684812 dynamo db indexes 2016-02-26 14:16:34 -05:00
Gabriel Burkholder
2ef35c33d0 Fixes route53_facts to use max_items parameter with record_sets query. 2016-02-24 16:16:04 -08:00
Darek Kaczyński
df482bfadd ecs_service will now compare whole model and update it if any difference found. Documentation #1483. Workaround for datetime fileds #1348. 2016-02-24 11:57:06 +01:00
Darek Kaczyński
f4a9247232 ecs_service_facts documentation fixes #1483. Workaround for datetime fileds #1348. 2016-02-24 11:56:56 +01:00
Darek Kaczyński
4798b53b06 ecs_task module documentation fixes 2016-02-24 11:52:26 +01:00
Fernando J Pando
fbf9da2119 Fix SNS topic attribute typo
Enables adding SNS topic policy. 'Policy' attribute is capitalized.
2016-02-22 17:53:25 -05:00
naslanidis
b4163e52c5 Added return section to the documentation 2016-02-22 21:29:29 +10:00
naslanidis
20df1189b9 Fixed issue with tag changes affecting vpc attach 2016-02-22 20:32:18 +10:00
Nick Aslanidis
526ee48c0d New AWS module for managing ec2 VPC virtual gateways 2016-02-22 16:16:54 +10:00
Joel Thompson
31ecde6b87 Fix documentation for sns_topic module
Currently the documentation does not correspond to the Ansible standards
for module documentation. This should bring it into compliance.
2016-02-21 20:32:16 -05:00
Joel Thompson
41a2542f00 Ensure ec2_win_password doesn't leak file handle
Currently the module doesn't explicitly close the file handle. This
wraps the reading of the private key in a try/finally block to ensure
the file is properly closed.
2016-02-09 22:56:55 -05:00
Michael Baydoun
198c816b70 Update ec2_vpc_net_facts.py
Corrected version_added
2016-02-08 10:09:23 -05:00
Casey Lucas
14c0e345d6 fix edge case where boto returns empty list after subnet creation 2016-02-05 19:09:54 -06:00
Matt Martz
d2e3909443 Fix DOCUMENTATION for ec2_vpc_dhcp_options.py and add missing RETURN to ec2_vol_facts.py 2016-02-02 10:00:51 -06:00
Brian Coca
9aac5784d3 Merge pull request #1565 from mjschultz/welex91
Ensure that port_path is split into at most 2 components.
2016-02-01 23:56:02 -05:00
Brian Coca
a2532862d8 Merge pull request #1330 from joelthompson/feature/ec2_vpc_dhcp_options
Add new ec2_vpc_dhcp_options module
2016-02-01 23:48:06 -05:00
Brian Coca
20caf29213 Merge pull request #1113 from shawnsi/vpc-route-table-continued
Additional check mode fixes for ec2_vpc_route_table module
2016-02-01 23:46:38 -05:00
Brian Coca
7e81c60c96 corrected version added 2016-02-01 23:49:05 -05:00
Brian Coca
76feff5b4d Merge pull request #1109 from wimnat/feature/ec2_vol_facts
New module - ec2_vol_facts
2016-02-01 23:43:27 -05:00
Toshio Kuratomi
36be779888 Remove duplicate documentation fields 2016-01-28 09:20:55 -08:00
Sumit Roy
acc51c2944 Ensure that port_path is split into at most 2 components.
cloudstack: cs_instance: fix do not require name to be set to avoid clashes

Require one of display_name or name. If both is given, name is used as identifier.

cloudstack: fix name is not case insensitive

cloudstack: cs_template: implement state=extracted

Update f5 validate_certs functionality to do the right thing on multiple python versions

This requires the implementation in the module_utils code here
https://github.com/ansible/ansible/pull/13667 to funciton

fixed domain_id to actually be supported

also added domain as an alias
alt fixes #1437

Simplify the code and remove use_unsafe_shell=True

While there is no security issue with this shell snippet, it
is better to not rely on shell and avoid use_unsafe_shell.

Fix for issue #1074. Now able to create volume without replica's.

Improved fix for #1074. Both None and '' transform to fqdn.

Fix for ansible-modules-extras issue #1080
2016-01-28 11:02:34 -06:00
Brian Coca
33213dbc24 Merge pull request #1508 from RajeevNambiar/devel
Update sts_assume_role.py for showing the correct example syntax role…
2016-01-26 00:00:49 -05:00
Brian Coca
65686221af Merge pull request #1488 from robbwagoner/ec2-elb-facts-with-instance-health
Include instance states (InService or OutOfService) as ELB facts
2016-01-25 23:54:29 -05:00
Rob White
0d86bc8d6b Add missing doc fragments 2016-01-24 11:11:49 +11:00
Shawn Siefkas
ddcc15a60f Fixing check mode support for vpc route tables
Loop compatibility for dry run exception handling

Route table deletion dry run handler

Fixing regression in propagating_vgw_ids default value

Adjusting truthiness of changed attribute for route manipulation

Updating propagating_vgw_ids default in docstring
2016-01-22 11:32:24 -06:00
RajeevNambiar
57a6a98cd9 Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name
Update sts_assume_role.py for showing the correct example syntax role_session_name instead of session_name. session_name is not a valid property.
2016-01-16 09:13:18 -05:00
Robb Wagoner
4be856a40c InService percent key as literal percent (i.e 50, not .5) 2016-01-12 10:46:21 -07:00
Robb Wagoner
3226ad4284 Include instance states (InService or OutOfService) as ELB facts 2016-01-12 10:07:09 -07:00
Brian Coca
2813675b6f Merge pull request #1469 from Constantin07/update_elb_ec2_facts
ec2_elb_facts - Print explicit error cause when no ELBs are found in AWS
2016-01-12 10:54:47 -05:00
Brian Coca
61bb39be71 Merge pull request #1466 from stepanstipl/fix-route53_facts_hosted_zone_id
Fix: route53_facts hosted_zone_id boto error
2016-01-12 10:54:17 -05:00
Brian Coca
3aa2d3744d Merge pull request #1482 from ansible/json-imports-fallback
Update for modules which import json.
2016-01-12 10:00:37 -05:00
Brian Coca
91c4558545 Merge pull request #1363 from wimnat/feature/eni_facts_secondary_addresses
Add secondary addresses to facts
2016-01-11 19:06:01 -05:00
Toshio Kuratomi
7e56a66ef6 Really disable RETURN 2016-01-11 14:59:23 -08:00
Toshio Kuratomi
816bfd6990 Disable RETURNS because the approved module doesn't have a RETURNS that is buildable 2016-01-11 13:23:04 -08:00
Toshio Kuratomi
759e4f2f24 Merge pull request #952 from Java1Guy/ecs_service_module
cloud amazon ECS service modules
2016-01-11 13:11:19 -08:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-01-11 13:06:22 -08:00
Constantin07
53e6e8c936 Print explicit error cause when no ELBs are found in AWS 2016-01-08 11:55:40 +00:00
Stepan Stipl
6bad06e827 Fix: route53_facts hosted_zone_id boto error
Boto is expecting parameter called "Id", not "HostedZoneId".
See
http://boto3.readthedocs.org/en/latest/reference/services/route53.html#Route53.Client.get_hosted_zone

Fixes ansible/ansible-modules-extras/#1465
2016-01-07 18:06:35 +00:00
Brian Coca
6efa406b6f added examples to route53_zone
fixes #1061
2015-12-23 12:01:47 -05:00
Joel Thompson
736321001f Add new ec2_vpc_dhcp_options module
This module manages EC2 DHCP options for a given VPC. It allows you to
specify all the options which AWS allows you to set in a DHCP option
set.
2015-12-23 09:55:26 -05:00
Brian Coca
0e9c9e759a Merge pull request #1341 from s1lv3r40/doc_fix
Doc fix on route53_health_check.py and ec2_vpc_route_table.py.
2015-12-14 21:56:47 -05:00
Rob
1b0250125a Add secondary addresses to facts 2015-12-12 11:33:10 +00:00
Brian Coca
fabafe9aa8 Merge pull request #1325 from wimnat/feature/issue-1323
Added missing else statement that caused existing rules to be discarded
2015-12-11 09:42:46 -05:00
Brian Coca
2ce866f759 corrected version added to 2.1 2015-12-07 10:03:13 -08:00
Brian Coca
43b63c36fd Merge pull request #973 from wimnat/feature/ec2_vpc_net_facts
New module - ec2_vpc_net_facts
2015-12-07 12:59:49 -05:00
Vladimir Dimov
de672f1ab2 Doc fix ec2_vpc_route_table.py 2015-12-07 19:15:24 +02:00
Vladimir Dimov
9ba686f8e6 Doc fix on route53_health_check.py. Fixed first example. Should be register instead of record. 2015-12-07 18:55:45 +02:00
Rob
186fe2babc Added missing else statement that caused existing rules to be discarded 2015-12-04 01:50:38 +00:00
Toshio Kuratomi
3c4f954f0f Don't raise or catch StandardError in amazon modules 2015-11-30 19:01:57 -08:00
Brian Coca
cde758332a Merge pull request #971 from atplanet/bug/vpc-subnet-tag-values-not-updating
Ensure tag values get updated in ec2_vpc_subnet
2015-11-23 09:54:20 -08:00
Ryan Sydnor
a56fe04683 Use boto normalized location for bucket creation
If a bucket is being created in us-east-1, the module passed
'us-east-1' to boto's s3.create_bucket method rather than
Location.DEFAULT (an empty string). This caused boto to generate
invalid XML which AWS was unable to interpret.
2015-11-20 13:55:46 -05:00
Toshio Kuratomi
e52e015791 Documentation fixes 2015-11-11 12:38:51 -08:00
Toshio Kuratomi
949610bbce Merge pull request #1202 from joelthompson/feature/sns_topic
Add sns_topic module to manage AWS SNS topics
2015-11-11 11:25:57 -08:00
Etherdaemon
1ee6962c93 Add new module to allow for getting and listing of Route53 relevant details 2015-11-06 09:39:24 +10:00
Joel Thompson
437a62836f Add sns_topic module to manage AWS SNS topics
This adds an sns_topic module which allows you to create and delete AWS
SNS topics as well as subscriptions to those topics.
2015-11-03 23:01:50 -05:00
wimnat
a21d935e66 Prevent ec2_remote_facts from failing when listing a terminated instance 2015-11-03 01:03:31 +00:00
Brian Coca
dd3a2b2e30 Merge pull request #1089 from wimnat/feature/ec2_remote_facts_refactor
Refactor ec2_remote_facts to use filters
2015-11-02 19:16:52 -05:00
Matteo Acerbi
fdffa55496 Fix docs for ec2_vpc_route_table
The documentation pointed to vpc_peering_connection, not vpc_peering_connection_id.
2015-10-28 12:15:24 +01:00
whiter
89f8e249fa Refactor ec2_remote_facts to use filters 2015-10-22 09:07:08 +11:00
Chrrrles Paul
405c3cb2c7 tpyo in doc string 2015-10-21 18:54:53 +09:00
Brian Coca
eeeb1264d3 Merge pull request #1090 from wimnat/feature/eni_facts_filters
Use filters attribute rather than eni id
2015-10-19 17:12:10 -04:00
Brian Coca
618ed0012c Merge pull request #1046 from shawnsi/vpc-route-table
Check mode support for VPC route table creation
2015-10-19 11:31:21 -04:00
wimnat
aef2b929c9 New module - ec2_vol_facts 2015-10-15 01:09:12 +00:00
Toshio Kuratomi
8ce3104bc5 Convert from dos line endings to unix because dos line endings break our documentation build. 2015-10-14 08:42:25 -07:00
whiter
62cd2d9c18 Use filters attribute rather than eni id so facts can be filtered on much more. Matches the new ec2_vpc_route_table_facts and ec2_vpc_subnet_facts modules 2015-10-13 17:54:16 +11:00
Rob
5f3f15fbc0 Use doc fragment and fix examples 2015-10-13 13:26:19 +11:00
Shawn Siefkas
dbdd2475e6 Handling dry run exception 2015-10-12 10:17:45 -05:00
Brian Coca
205115ea1f updated to use shared region docs from ec2 2015-10-07 23:20:27 -04:00
Rick Mendes
2cc18b8780 added missing license 2015-10-05 10:29:25 -07:00
Greg DeKoenigsberg
beb362dd11 Merge pull request #633 from loia/feature/aws_sqs
Add new Amazon SQS module
2015-09-30 16:45:33 -04:00
Greg DeKoenigsberg
a4c2928712 Merge pull request #783 from wimnat/feature/ec2_vpc_subnet_facts
New module - ec2_vpc_subnet_facts
2015-09-30 16:43:54 -04:00
Greg DeKoenigsberg
ed2708827d Merge pull request #963 from sgzijl/391-append-missing-dot
issue #931 append dot to zone if not defined
2015-09-30 16:29:05 -04:00
Shawn Siefkas
6186da08ef Check mode support for VPC route table creation 2015-09-30 11:00:36 -05:00
Mark Chance
0147a89957 fix, update the documentation of the modules 2015-09-28 10:53:26 -06:00
Toshio Kuratomi
4cf2c5555e Fix for errors in the generated rst 2015-09-28 08:38:04 -07:00
Toshio Kuratomi
953d382aa5 docs fixes 2015-09-28 08:22:59 -07:00
Mark Chance
73382f4574 WIP documentation update 2015-09-25 11:59:28 -06:00
Benno Joy
f3a9a92ffe remove facts and fix docs for taskdefinition module 2015-09-24 14:28:10 +05:30
Benno Joy
f4f52119b3 Merge pull request #951 from Java1Guy/ecs_task_module
cloud amazon ECS task modules
2015-09-24 14:18:39 +05:30
Benno Joy
936a2db7f1 Merge pull request #949 from Java1Guy/ecs_taskdefinition_module
cloud amazon ECS task definition module
2015-09-24 14:18:09 +05:30
Benno Joy
6c0a830962 Merge pull request #950 from Java1Guy/ecs_cluster_module
cloud amazon ECS cluster module
2015-09-24 14:17:28 +05:30
Brian Coca
8b83aa4c50 Merge pull request #643 from zimbatm/route53-health-check
route53_health_check: new module
2015-09-22 16:35:58 -04:00
Gerard Lynch
401bb3f10d minor doc fix 2015-09-21 20:28:42 +01:00
Mark Chance
b9aef8beb2 add author tag in doc 2015-09-21 09:57:37 -06:00
Mark Chance
ff4c000451 add author tag in doc 2015-09-21 09:56:32 -06:00
Mark Chance
1a653d4921 add author tag in doc 2015-09-21 09:55:31 -06:00
Mark Chance
d3de924981 add author tag in doc 2015-09-21 09:52:27 -06:00
Rob
bc560617c1 Tolerate missing classic_link_enabled attribute 2015-09-21 11:13:56 +10:00
Jérémie Astori
0c74601ea5 Fix tpyo 2015-09-17 14:01:29 +02:00
Rob
d1c15d6c84 Documentation fixup 2015-09-14 10:38:36 +10:00
whiter
767605122a New module - ec2_vpc_net_facts 2015-09-14 09:43:02 +10:00
Tom Bamford
65c41451f0 Ensure tag values get updated in ec2_vpc_subnet 2015-09-13 15:37:23 +00:00
Siert Zijl
57f9b735f3 #931 append dot to zone if not defined 2015-09-11 20:14:59 +02:00
Brian Coca
5a39c5ed0d Merge pull request #948 from steynovich/patch-1
Update route53_zone.py
2015-09-10 21:05:27 -04:00
Evan Carter
604578cfcc fixing hang after creation 2015-09-10 15:23:57 -04:00
Mark Chance
dca0d4a08c update version, fix fail msgs 2015-09-10 08:25:34 -06:00
Mark Chance
158b9b664d update version, fix fail msgs 2015-09-10 08:25:04 -06:00
Mark Chance
4524cc1e27 update version, fix fail msgs 2015-09-10 08:22:40 -06:00
Mark Chance
de95580f66 fix docs, enhance fail msgs 2015-09-10 08:02:24 -06:00
Mark Chance
03cd38e7ab cloud amazon ECS task definition module 2015-09-09 17:09:46 -06:00
Mark Chance
f802fc2ce3 cloud amazon ECS cluster module 2015-09-09 17:08:48 -06:00
Mark Chance
a5083a4a17 cloud amazon ECS task modules 2015-09-09 17:07:04 -06:00
Mark Chance
f478530803 cloud amazon ECS service modules 2015-09-09 17:05:43 -06:00
steynovich
bdfb67ae28 Update route53_zone.py
Proposed fix for issue #940

Fix: Include common AWS parameters in module arguments
2015-09-09 23:43:15 +02:00
Bret Martin
e5fdbc25a2 Only wait for ENI attachment at creation when instance_id is specified 2015-09-06 22:00:02 -04:00
Toshio Kuratomi
a55dbb717c Try to revert the pieces of #651 that @willthames and @erydo requested 2015-09-06 07:56:58 -07:00
Toshio Kuratomi
70568aa242 Merge pull request #651 from wimnat/feature/ec2_vpc_igw
Fixed incorrect connect_to_aws call
2015-09-06 07:50:58 -07:00
Toshio Kuratomi
6a3cf63351 correct documentation formatting 2015-09-05 08:55:34 -07:00
Brian Coca
a9d5392b71 fixed option description 2015-09-04 14:49:46 -04:00
Brian Coca
12f8f125cf Merge pull request #918 from dbhirko/devel
ec2_vpc_igw.py changed boto connection obejct to vpc
2015-09-04 14:37:24 -04:00
Brian Coca
00ba47e4ed Merge pull request #718 from wimnat/feature/s3_lifecycle
New module - s3_lifecycle
2015-09-04 12:44:10 -04:00
Brian Coca
2ca3a8112b Merge pull request #842 from stelligent/devel
fixes issue creating table when no range_key_name is defined
2015-09-04 12:42:15 -04:00
dbhirko
041d6f6077 Change boto connection object from ec2 to vpc
Issue 906 - ec2_vpc_igw has incorrect connection parameters
2015-09-03 16:00:41 -04:00
whiter
65d3a3be59 Remove debug print statement. Fixed ensure_propagation call to pass 'route_table' and 'connection'. 2015-09-02 14:34:56 +01:00
whiter
506d1df22c Documentation examples fix 2015-08-31 17:39:13 +02:00
whiter
a2fb8edb3c Added option to specify tags or route-table-id, quoted doc strings, added more detail to returned route table object, numerous minor fixes 2015-08-30 22:25:05 +02:00
Bret Martin
96e4194588 Don't enable route propagation on a virtual gateway with propagated routes 2015-08-30 22:21:46 +02:00
Bret Martin
29ce49e84f Don't attempt to delete routes using propagating virtual gateways 2015-08-30 22:21:45 +02:00
Bret Martin
271cbe833e Call ensure_propagation() with the retrieved route table ID 2015-08-30 22:21:45 +02:00
Bret Martin
954f48f28a Don't check original_association_ids since it is not set, per comment above 2015-08-30 22:21:44 +02:00
Bret Martin
546858cec9 Correct enable_vgw_route_propagation test_run parameter to dry_run 2015-08-30 22:21:44 +02:00
Rob White
3e02c0d3d9 Blank aliases removed 2015-08-30 22:21:43 +02:00
whiter
3527aec2c5 Changed to use "connect_to_aws" method 2015-08-30 22:21:43 +02:00
whiter
4f2cd7cb6e Documentation update 2015-08-30 22:21:43 +02:00
Herby Gillot
c9883db03d Allow VPC igw to be specified by gateway_id: "igw" 2015-08-30 22:21:42 +02:00
Robert Estelle
43566b0caf ec2_vpc_route_tables - Allow reference to subnets by id, name, or cidr. 2015-08-30 22:21:42 +02:00
Robert Estelle
17ed722d55 ec2_vpc_route_tables - Remove more dict comprehensions. 2015-08-30 22:21:42 +02:00
Robert Estelle
f0a4be1b4b ec2_vpc_route_table - Fix unintended tag search regression. 2015-08-30 22:21:42 +02:00
Robert Estelle
f4ce0dbc96 ec2_vpc_route_table - Support route propagation through VGW.
Based on work by Bret Martin via pull request #356
2015-08-30 22:21:41 +02:00
Robert Estelle
f79aeaee86 ec2_vpc - More dry running in check mode. 2015-08-30 22:21:41 +02:00
Robert Estelle
e3c14c1b02 ec2_vpc - Update dict comprehensions and {} formats for python2.6 2015-08-30 22:21:41 +02:00