- name: Set ebs volumes
set_fact:
ebs_volumes_list:
- device_name: sdf
ebs:
volume_size: 10
delete_on_termination: yes
encrypted: yes
volume_type: gp3
- device_name: sdh
ebs:
volume_size: 10
delete_on_termination: yes
encrypted: yes
volume_type: io1
iops: 500
when: node_type == "Core"
- name: "Create Node launch template"
community.aws.ec2_launch_template:
template_name: "Test”
monitoring:
enabled: true
state: present
block_device_mappings:
- device_name: "{{ item.device_name }}"
ebs: "{{ item.ebs}}”
loop: "{{ ebs_volumes_list }}"
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56cb91d7-5d54-4c18-9328-85ecccf28659n%40googlegroups.com.