|
|
@ -27,31 +27,26 @@ options:
|
|
|
|
- instance id of the image to create
|
|
|
|
- instance id of the image to create
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the new image to create
|
|
|
|
- The name of the new image to create
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
wait:
|
|
|
|
wait:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- wait for the AMI to be in state 'available' before returning.
|
|
|
|
- wait for the AMI to be in state 'available' before returning.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: "no"
|
|
|
|
default: "no"
|
|
|
|
choices: [ "yes", "no" ]
|
|
|
|
choices: [ "yes", "no" ]
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
wait_timeout:
|
|
|
|
wait_timeout:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- how long before wait gives up, in seconds
|
|
|
|
- how long before wait gives up, in seconds
|
|
|
|
default: 300
|
|
|
|
default: 300
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- create or deregister/delete image
|
|
|
|
- create or deregister/delete image
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: 'present'
|
|
|
|
default: 'present'
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
region:
|
|
|
|
region:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The AWS region to use. Must be specified if ec2_url is not used. If not specified then the value of the EC2_REGION environment variable, if any, is used.
|
|
|
|
- The AWS region to use. Must be specified if ec2_url is not used. If not specified then the value of the EC2_REGION environment variable, if any, is used.
|
|
|
@ -63,32 +58,28 @@ options:
|
|
|
|
- An optional human-readable string describing the contents and purpose of the AMI.
|
|
|
|
- An optional human-readable string describing the contents and purpose of the AMI.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
no_reboot:
|
|
|
|
no_reboot:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- An optional flag indicating that the bundling process should not attempt to shutdown the instance before bundling. If this flag is True, the responsibility of maintaining file system integrity is left to the owner of the instance. The default choice is "no".
|
|
|
|
- An optional flag indicating that the bundling process should not attempt to shutdown the instance before bundling. If this flag is True, the responsibility of maintaining file system integrity is left to the owner of the instance. The default choice is "no".
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: no
|
|
|
|
default: no
|
|
|
|
choices: [ "yes", "no" ]
|
|
|
|
choices: [ "yes", "no" ]
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
image_id:
|
|
|
|
image_id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Image ID to be deregistered.
|
|
|
|
- Image ID to be deregistered.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
delete_snapshot:
|
|
|
|
delete_snapshot:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Whether or not to delete an AMI while deregistering it.
|
|
|
|
- Whether or not to delete an AMI while deregistering it.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- a hash/dictionary of tags to add to the new image; '{"key":"value"}' and '{"key":"value","key":"value"}'
|
|
|
|
- a hash/dictionary of tags to add to the new image; '{"key":"value"}' and '{"key":"value","key":"value"}'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
aliases: []
|
|
|
|
version_added: "2.0"
|
|
|
|
|
|
|
|
|
|
|
|
author: Evan Duffield <eduffield@iacquire.com>
|
|
|
|
author: Evan Duffield <eduffield@iacquire.com>
|
|
|
|
extends_documentation_fragment: aws
|
|
|
|
extends_documentation_fragment: aws
|
|
|
|