![]() name : Basic AMI Creation 2_ami : instance_id : i-xxxxxx wait : true name : newtest tags : Name : newtest Service : TestService - name : Basic AMI Creation, without waiting 2_ami : instance_id : i-xxxxxx wait : no name : newtest - name : AMI Registration from EBS Snapshot 2_ami : name : newtest state : present architecture : x86_64 virtualization_type : hvm root_device_name : /dev/xvda device_mapping : - device_name : /dev/xvda volume_size : 8 snapshot_id : snap-xxxxxxxx delete_on_termination : true volume_type : gp2 - name : AMI Creation, with a custom root-device size and another EBS attached 2_ami : instance_id : i-xxxxxx name : newtest device_mapping : - device_name : /dev/sda1 size : XXX delete_on_termination : true volume_type : gp2 - device_name : /dev/sdb size : YYY delete_on_termination : false volume_type : gp2 - name : AMI Creation, excluding a volume attached at /dev/sdb 2_ami : instance_id : i-xxxxxx name : newtest device_mapping : - device_name : /dev/sda1 size : XXX delete_on_termination : true volume_type : gp2 - device_name : /dev/sdb no_device : true - name : AMI Creation with boot_mode and tpm_support amazon.aws. # Note: These examples do not set authentication details, see the AWS Guide for details. Controlling how Ansible behaves: precedence rules.This procedure is similar to launching a new VM. ![]()
0 Comments
Leave a Reply. |