copr: fixup aws volume config
This commit is contained in:
parent
2ce23a8a31
commit
446db9e32c
3 changed files with 6 additions and 6 deletions
|
@ -16,6 +16,11 @@
|
|||
max_spawn_time: 1100
|
||||
spawning_vm_user: "fedora"
|
||||
arch: aarch64
|
||||
instance_volumes:
|
||||
- device_name: sdb
|
||||
delete_on_termination: True
|
||||
volume_type: gp2
|
||||
volume_size: 100
|
||||
|
||||
tasks:
|
||||
- include: "spinup_aws_task.yml"
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
max_spawn_time: 1100
|
||||
spawning_vm_user: "fedora"
|
||||
arch: x86_64
|
||||
instance_volumes:
|
||||
- device_name: sdb
|
||||
delete_on_termination: True
|
||||
volume_type: gp2
|
||||
volume_size: 100
|
||||
|
||||
tasks:
|
||||
- include: "spinup_aws_task.yml"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
arch: "{{ arch }}"
|
||||
aws_access_key: "{{ aws_access_key }}"
|
||||
aws_secret_key: "{{ aws_secret_key }}"
|
||||
volumes: "{{ instance_volumes or [] }}"
|
||||
volumes: "{% if instance_volumes is defined %}{{ instance_volumes }}{% else %}[]{% endif %}"
|
||||
register: ec2
|
||||
|
||||
- name: Add new instance to host group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue