mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 11:40:22 +08:00
copr: fixup aws volume config
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
2ce23a8a31
commit
446db9e32c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user