|
|
@ -128,7 +128,7 @@ EXAMPLES = '''
|
|
|
|
register: instance
|
|
|
|
register: instance
|
|
|
|
|
|
|
|
|
|
|
|
# AMI Creation, with a custom root-device size and another EBS attached
|
|
|
|
# AMI Creation, with a custom root-device size and another EBS attached
|
|
|
|
- ec2_ami
|
|
|
|
- ec2_ami:
|
|
|
|
aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
instance_id: i-xxxxxx
|
|
|
|
instance_id: i-xxxxxx
|
|
|
@ -145,7 +145,7 @@ EXAMPLES = '''
|
|
|
|
register: instance
|
|
|
|
register: instance
|
|
|
|
|
|
|
|
|
|
|
|
# AMI Creation, excluding a volume attached at /dev/sdb
|
|
|
|
# AMI Creation, excluding a volume attached at /dev/sdb
|
|
|
|
- ec2_ami
|
|
|
|
- ec2_ami:
|
|
|
|
aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
instance_id: i-xxxxxx
|
|
|
|
instance_id: i-xxxxxx
|
|
|
|