Willem van Ketwich
310eb833a4
EC2 AMI boto3 modifications ( #28506 )
...
Migrate ec2_ami module to boto3
2017-10-30 10:20:27 +10:00
Prasad Katti
91b5a9b868
[ec2-ami] make examples less verbose; fix default values in docs ( #32008 )
...
* make ec2-ami examples less verbose
* Fix default values in docs to be the actual default values
Fix default values for `architecture`, `virtualization_type` and
`wait_timeout` in docs to be the actual default values.
* Added note about examples not containing auth details
2017-10-26 21:33:39 +10:00
Prasad Katti
8a9a9b84dd
[ec2-ami] Use required_if with state parameter ( #32009 )
...
* [ec2-ami] Use required_if with state parameter
* Update failure msg on delete ami with no image_id task in integration test
2017-10-24 16:01:33 -04:00
Ross Williams
39e46437bf
Fixes #19666 Correct AMI information output by ec2_ami module ( #27021 )
...
Add AMI name and platform to outputs on AMI creation
2017-09-08 16:30:08 -04:00
Will Thames
b1df75fc1c
[cloud] Return AMI info on ec2_ami module when `changed=false` ( #27867 )
...
Fixes #27861
2017-08-23 12:01:49 -04:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Andrea Tartaglia
1d0a629dcc
Fixed docs for cloud modules ( #23745 )
...
* Fixed docs for cloud modules
* removed blank line in ec2_snapshot_facts
2017-04-27 12:01:11 +01:00
Matt Martz
3164e8b561
E501 fixes ( #22879 )
2017-03-22 20:50:28 -05:00
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
2017-01-28 00:12:11 -08:00
Ross Williams
592c79e837
Add support for registering Amazon Machine Images from EBS snapshots. ( #19020 )
2017-01-19 13:06:36 -05:00
Tom Paine
7ba746dc1e
Update ec2_ami.py ( #19636 )
...
- Consistent capitalisation in the descriptions
- Removed redundant 'optional' notes when this is covered by the Boolean `optional` column
- Clarified `instance_id` description
2016-12-30 10:36:29 -05:00
Ryan S. Brown
197658aff4
Handle when the AMI launch permissions are unset.
...
Use an empty list to avoid a TypeError because `'NoneType' is not iterable``
2016-12-14 19:45:14 -05:00
James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
jjshoe
706bdbf284
Catch the rare condition where ami creation failed, this is critical when you have a 10-15 minute wait on ami creation. This rarely happens, and is tough to reproduce, but it does happen. ( #5106 )
2016-12-08 11:25:19 -05:00
Bradley Phipps
17985f9917
added missing colons to documentation ( #3913 )
2016-12-08 11:24:36 -05:00
@
3fa745eef9
Fixing error exception handling for python3. Does not need to be compa… ( #3840 )
...
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing compile time errors IRT error exception handling for Python 3.5.
This does not need to be compatible with Python2.4 b/c Boto is Python 2.6 and above.
2016-12-08 11:24:34 -05:00
Brian Coca
4e08f94a34
corrected return docs sample
2016-12-08 11:24:20 -05:00
Constantin
404f07af8e
Added improvements and documented return structure ( #2320 )
2016-12-08 11:24:19 -05:00
jjshoe
87946920d8
Fix an issue where by a call to ec2.get_image wasn't wrapped in a try/except, and would occasionally throw an exception in the wild. Also greatly simplifies two of the ugliest known loops to man down into a single loop. ( #2554 )
2016-12-08 11:24:19 -05:00
jjshoe
5b8d209b7e
Speed up AMI code by not attempting to create the AMI without checkin… ( #2551 )
...
* Speed up AMI code by not attempting to create the AMI without checking on the name first. Also simplifies code for reporting errors from AMI creation, greatly.
* remove sys.exit
2016-12-08 11:24:17 -05:00
Taras Lipatov
b5fb47e28e
Fixed typo json_fail to fail_json
2016-12-08 11:24:13 -05:00
Matt Martz
aaf762573e
Various simple linting type cleanups on modules
2016-12-08 11:24:06 -05:00
Tom Bamford
dbf882a600
Clarify available options for device_mapping parameter of ec2_ami module
2016-12-08 11:23:37 -05:00
Matt Ferrante
74b4882415
ec2_ami can update an ami's launch_permissions
2016-12-08 11:23:28 -05:00
Greg DeKoenigsberg
18ca7aee07
Updating cloud modules with proper github author information
2016-12-08 11:23:07 -05:00
Andrea Mandolo
adb53cc3c5
Add "block_device_mapping" parameter on EC2_AMI Amazon module (DOCUMENTATION) - upgraded
2016-12-08 11:23:06 -05:00
Raghu Udiyar
e6e8f65e92
Creating ami should be idempotent
...
If the ami already exists, return details of the duplicate
ami instead of failing with an error.
2016-12-08 11:23:04 -05:00
Brian Coca
2e9462aa21
minor doc fixes, set version added for new tags: parameter should Fix #10894
2016-12-08 11:22:56 -05:00
Jaanus Torp
0f0cb9dc16
Added support for tagging images in ec2_ami.py
2016-12-08 11:22:53 -05:00
steenzout
67f769d9a6
issue #994 : use HAS_BOTO to determine if import was successful: - removed import of sys module. - HAS_BOTO constant to check if import was successful. - trigger a failure when import fails. - removed unnecessary imports.
2016-12-08 11:22:53 -05:00
Brian Coca
49c10e4359
now captures connection exceptions and returns in 'nicer' module failure
2016-12-08 11:22:44 -05:00
Mike Putnam
d2d0ffd83a
Type fix on delete_snapshot docs.
2016-12-08 11:22:32 -05:00
Michael DeHaan
76efaa6cfb
More EC2 doc tweaks
2016-12-08 11:22:29 -05:00
Brian Coca
32e85c0944
made subcategories for cloud modules for better organization
2016-12-08 11:22:24 -05:00