mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
copr-be: new AWS EC2 instance types
Per the research in: https://github.com/fedora-copr/copr/issues/2241
This commit is contained in:
@@ -24,9 +24,7 @@ cmd=(
|
||||
--tag CoprPurpose=builder
|
||||
--tag CoprInstance={% if devel %}devel{% else %}production{% endif %}
|
||||
--tag arch={{ item }}
|
||||
{% if item == 'aarch64' %}
|
||||
--additional-volume-size 160
|
||||
{% endif %}
|
||||
--playbook /var/lib/resallocserver/provision/builderpb-aws.yml
|
||||
)
|
||||
|
||||
|
||||
@@ -38,13 +38,13 @@ aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot
|
||||
{% endif %}
|
||||
|
||||
{% if arch == 'x86_64' and on_demand is none %}
|
||||
{% set itype='i4i.large' %}
|
||||
{% set itype='c7i.xlarge' %}
|
||||
{% elif arch == 'x86_64' and on_demand == 'powerful' %}
|
||||
{% set itype='r7a.16xlarge' %}
|
||||
{% set itype='c7i.8xlarge' %}
|
||||
{% elif arch == 'aarch64' and on_demand is none %}
|
||||
{% set itype='c7g.xlarge' %}
|
||||
{% elif arch == 'aarch64' and on_demand == 'powerful' %}
|
||||
{% set itype='r7g.16xlarge' %}
|
||||
{% set itype='c7g.8xlarge' %}
|
||||
{% endif %}
|
||||
|
||||
{% if spot and on_demand == 'powerful' %}
|
||||
|
||||
Reference in New Issue
Block a user