copr: configure swap volume in aws for aarch64

This commit is contained in:
Pavel Raiskup 2019-12-03 09:37:56 +01:00 committed by Pierre-Yves Chibon
parent cd56b71602
commit 2ce23a8a31
2 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,11 @@
max_spawn_time: 1100 max_spawn_time: 1100
spawning_vm_user: "fedora" spawning_vm_user: "fedora"
arch: x86_64 arch: x86_64
instance_volumes:
- device_name: sdb
delete_on_termination: True
volume_type: gp2
volume_size: 100
tasks: tasks:
- include: "spinup_aws_task.yml" - include: "spinup_aws_task.yml"

View file

@ -17,7 +17,7 @@
arch: "{{ arch }}" arch: "{{ arch }}"
aws_access_key: "{{ aws_access_key }}" aws_access_key: "{{ aws_access_key }}"
aws_secret_key: "{{ aws_secret_key }}" aws_secret_key: "{{ aws_secret_key }}"
volumes: [] volumes: "{{ instance_volumes or [] }}"
register: ec2 register: ec2
- name: Add new instance to host group - name: Add new instance to host group