Commit graph

321 commits

Author SHA1 Message Date
Brad Davidson
ea8547c86a Fix argument spec for type and tags; return VGW info instead of raw response 2016-04-29 20:29:14 +00:00
Rob
c3d8b07432 New module - ec2_snapshot_facts (#1088) 2016-04-19 18:07:59 -04:00
Victor Costan
1aecfc1e19 amazon/GUIDELINES.md: Fix copy-paste typo (#2060) 2016-04-19 00:17:08 -04:00
Fernando José Pando
3afe117730 Add SQS queue policy attachment functionality (#1716)
* Add SQS queue policy attachment functionality

SQS queue has no attribute 'Policy' until one is attached, so this special
case must be handled uniquely

SQS queue Policy can now be passed in as json
2016-04-14 23:58:44 +02:00
Jens Carl
10def11d39 Fix code example (#2018) 2016-04-12 18:10:41 -04:00
Rob
84f2aa6167 Updated Amazon module guidelines regarding boto3
* Updated Amazon module guidelines regarding boto3

* Spelling correction
2016-04-06 09:37:52 -04:00
John Barker
950e2d9484 restore version_added in dynamodb_table.py 2016-03-31 20:15:32 +01:00
Rene Moser
d0501864ab dynamodb_table: doc fix 2016-03-23 00:43:37 +01:00
René Moser
eb5809f351 Merge pull request #1443 from dataxu/dev-dynamodb-indexes
Ability to set dynamo db indexes
2016-03-23 00:35:56 +01:00
René Moser
aa80e700e5 Merge pull request #1629 from caseylucas/devel
ec2_vpc_subnet: fix edge case where boto returns empty list after subnet creation
2016-03-22 15:35:39 +01:00
René Moser
8d8d418e94 Merge pull request #1865 from dennisconrad/devel
Fix for existing ENIs w/ multiple security groups
2016-03-19 17:52:39 +01:00
René Moser
f91a3cc9e8 Merge pull request #1579 from wimnat/feature/1573
Allow SNS topics to be created without subscriptions.
2016-03-19 14:20:34 +01:00
René Moser
d902a6d9ad Merge pull request #1653 from nand0p/devel
Fix SNS topic attribute typo
2016-03-19 14:12:09 +01:00
René Moser
58654cdac1 Merge pull request #1429 from joelthompson/feature/win_load_password
Ensure ec2_win_password doesn't leak file handle
2016-03-19 14:09:49 +01:00
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