ansible 2.3.0.0
I’m trying to create multiple ec2 volumes on a single instances. I’ve tried the following variations:volumes:
- device_name: /dev/xvda
volume_type: gp2
volume_size: 40
delete_on_termination: true - device_name: /dev/xvdb
volume_type: ephemeral
volume_size: 120
delete_on_termination: true
encrypted: true
ephemeral: ephemeral0
volumes:
- device_name: /dev/xvda
volume_type: gp2
volume_size: 40
delete_on_termination: true - device_name: /dev/xvdb
volume_type: gp2l
volume_size: 120
delete_on_termination: true
encrypted: true
ephemeral: ephemeral0
volumes:
- device_name: /dev/xvda
volume_type: gp2
volume_size: 40
delete_on_termination: true
ephemeral: ephemeral0 - device_name: /dev/xvdb
volume_type: ephemeral
volume_size: 120
delete_on_termination: true
encrypted: true
ephemeral: ephemeral1
and when I ssh onto the instances and run lsblk only the root volume is there. There has to be a way to mount ‘local’ ssd to the ec2 instances.