Commit Graph

187 Commits (ea6a2bfd95b65639676b9ccd7920a451d33fe610)

Author SHA1 Message Date
Matt Martz 577f56ac79 Fix HAS_BOTO fail_json call for ec2_ami_copy 2016-12-08 11:34:13 -05:00
Rob aa36ed8612 Add secondary IP support and allow specifying sec groups by name (#2161) 2016-12-08 11:34:12 -05:00
Rob 09b7470983 Added doc for new get_ec2_security_group_ids_from_names function in m… 2016-12-08 11:34:11 -05:00
Rob 1d01d232a9 New module - ec2_snapshot_facts (#1088) 2016-12-08 11:34:07 -05:00
Victor Costan e5742c3a47 amazon/GUIDELINES.md: Fix copy-paste typo (#2060) 2016-12-08 11:34:07 -05:00
Fernando José Pando 94c5e16fe3 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-12-08 11:34:06 -05:00
Jens Carl cf804fb0b8 Fix code example (#2018) 2016-12-08 11:34:05 -05:00
Rob b93fda8573 Updated Amazon module guidelines regarding boto3
* Updated Amazon module guidelines regarding boto3

* Spelling correction
2016-12-08 11:34:03 -05:00
John Barker d20b7ee6e6 restore version_added in dynamodb_table.py 2016-12-08 11:34:01 -05:00
Rene Moser 7a28ad63f7 dynamodb_table: doc fix 2016-12-08 11:33:59 -05:00
Matt Ferrante 99c8e82b60 dynamo db indexes 2016-12-08 11:33:59 -05:00
Casey Lucas 4cd9933388 fix edge case where boto returns empty list after subnet creation 2016-12-08 11:33:59 -05:00
Dennis Conrad 0254cbad9a 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-12-08 11:33:58 -05:00
Rob White 7b0b4262e5 Allow SNS topics to be created without subscriptions. Also added better error handling around boto calls. 2016-12-08 11:33:58 -05:00
Fernando J Pando be083a8fbe author added 2016-12-08 11:33:58 -05:00
Fernando J Pando 6d69956f83 Fix SNS topic attribute typo
Enables adding SNS topic policy. 'Policy' attribute is capitalized.
2016-12-08 11:33:58 -05:00
Joel Thompson 61672e5c61 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-12-08 11:33:58 -05:00
Rene Moser b92b30e3b3 ec2_vpc_dhcp_options: doc fix, add version_added to new args
See #1640
2016-12-08 11:33:58 -05:00
Andy Nelson 5718a5caac Updated ec2_vpc_dhcp_options 2016-12-08 11:33:57 -05:00
Darek Kaczyński 9e918b5955 Removed debug return values 2016-12-08 11:33:57 -05:00
Darek Kaczyński 7127a45d96 ecs_service will now compare whole model and update it if any difference found. Documentation #1483. Workaround for datetime fileds #1348. 2016-12-08 11:33:57 -05:00
Darek Kaczyński 9b27ed6c5d ecs_service_facts documentation fixes #1483. Workaround for datetime fileds #1348. 2016-12-08 11:33:57 -05:00
Gabriel Burkholder 6a202054f8 Fixes route53_facts to use max_items parameter with record_sets query. 2016-12-08 11:33:56 -05:00
nonshankus a1fdff4c97 Adding missing attributes regarding the hosted zone. 2016-12-08 11:33:56 -05:00
Darek Kaczyński 17a6cea512 ecs_task module documentation fixes 2016-12-08 11:33:53 -05:00
Matt Martz 402a996430 Don't call sys.exit in sns_topic, use HAS_BOTO to fail 2016-12-08 11:33:51 -05:00
Matt Martz 27be34ef9d DOCUMENTATION fixes for a few modules 2016-12-08 11:33:51 -05:00
Joel Thompson 8539d6f502 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-12-08 11:33:50 -05:00
Michael Baydoun 221d1b7744 Update ec2_vpc_net_facts.py
Corrected version_added
2016-12-08 11:33:49 -05:00
Matt Martz 78759c667a Fix DOCUMENTATION for ec2_vpc_dhcp_options.py and add missing RETURN to ec2_vol_facts.py 2016-12-08 11:33:48 -05:00
Sumit Roy 8eeb30da3d 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-12-08 11:33:48 -05:00
Joel Thompson bace230f25 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.
2016-12-08 11:33:47 -05:00
Shawn Siefkas 7cf0f8a7f6 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-12-08 11:33:47 -05:00
wimnat 6d239c6a3f New module - ec2_vol_facts 2016-12-08 11:33:47 -05:00
Toshio Kuratomi 255c4b01a8 Remove duplicate documentation fields 2016-12-08 11:33:46 -05:00
RajeevNambiar 77ca6641cb 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-12-08 11:33:46 -05:00
Robb Wagoner f7c044badf InService percent key as literal percent (i.e 50, not .5) 2016-12-08 11:33:46 -05:00
Robb Wagoner 8f2eff6ca8 Include instance states (InService or OutOfService) as ELB facts 2016-12-08 11:33:46 -05:00
Rob White d608dee29f Add missing doc fragments 2016-12-08 11:33:45 -05:00
Constantin07 e20317b3be Print explicit error cause when no ELBs are found in AWS 2016-12-08 11:33:44 -05:00
Stepan Stipl 9bba1b66c5 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-12-08 11:33:44 -05:00
Toshio Kuratomi ad0d2c1747 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-12-08 11:33:44 -05:00
Rob 2916a8bf5d Add secondary addresses to facts 2016-12-08 11:33:43 -05:00
Toshio Kuratomi 0501a18608 Really disable RETURN 2016-12-08 11:33:43 -05:00
Toshio Kuratomi c98db451ac Disable RETURNS because the approved module doesn't have a RETURNS that is buildable 2016-12-08 11:33:43 -05:00
Mark Chance ac86f8f0ad fix, update the documentation of the modules 2016-12-08 11:33:42 -05:00
Mark Chance 00bd01c293 WIP documentation update 2016-12-08 11:33:42 -05:00
Mark Chance 7634539da7 add author tag in doc 2016-12-08 11:33:42 -05:00
Mark Chance a1429f868b update version, fix fail msgs 2016-12-08 11:33:42 -05:00
Mark Chance 9aa40a5826 cloud amazon ECS service modules 2016-12-08 11:33:42 -05:00