#ansible (2022-05)

ansible

Discussions related to ansible configuration management

2022-05-05

rosscdh avatar
rosscdh

Hey all! quick question

am using https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_instance_module.html to create a number of instances… it has a volumes segment however not the ability to use a snap-xxxxx volume.. what is the prescribed way to attach a snapshot volume? considering the older ec2 module supported it?

rosscdh avatar
rosscdh

looks like i need to add a set of state checks and registers and then cross ref to add or not..

rosscdh avatar
rosscdh

but this is hella ugly and will require a restart of the machine

rosscdh avatar
rosscdh

cant be the way

rosscdh avatar
rosscdh

outcome use launch_template for snapshot_id in ec2_instances module

2022-05-17

    keyboard_arrow_up