|
|
|
@ -20,10 +20,12 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: ec2_ami_search
|
|
|
|
module: ec2_ami_search
|
|
|
|
short_description: Retrieve AWS AMI for a given operating system.
|
|
|
|
short_description: Retrieve AWS AMI for a given operating system.
|
|
|
|
|
|
|
|
version_added: "1.6"
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Look up the most recent AMI on AWS for a given operating system.
|
|
|
|
- Look up the most recent AMI on AWS for a given operating system.
|
|
|
|
- Returns C(ami), C(aki), C(ari), C(serial), C(tag)
|
|
|
|
- Returns C(ami), C(aki), C(ari), C(serial), C(tag)
|
|
|
|
- If there is no AKI or ARI associated with an image, these will be C(null).
|
|
|
|
- If there is no AKI or ARI associated with an image, these will be C(null).
|
|
|
|
|
|
|
|
- Only supports images from cloud-images.ubuntu.com
|
|
|
|
- Example output: C({"ami": "ami-69f5a900", "changed": false, "aki": "aki-88aa75e1", "tag": "release", "ari": null, "serial": "20131024"})
|
|
|
|
- Example output: C({"ami": "ami-69f5a900", "changed": false, "aki": "aki-88aa75e1", "tag": "release", "ari": null, "serial": "20131024"})
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
distro:
|
|
|
|
distro:
|
|
|
|
|