mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
copr: fix name of the pool
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
# default priority is 0
|
# default priority is 0
|
||||||
# reserved instances in cloud has > 0
|
# reserved instances in cloud has > 0
|
||||||
# on-premise instance < 0
|
# on-premise instance < 0
|
||||||
# high performance instances <= 40
|
# high performance instances <= - 40
|
||||||
#
|
#
|
||||||
# - if you need to drop a pool, it requires you to do a few steps:
|
# - if you need to drop a pool, it requires you to do a few steps:
|
||||||
# a) first evacutate the pool by setting `max: 0`,
|
# a) first evacutate the pool by setting `max: 0`,
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
{% macro aws(arch, max, max_starting, max_prealloc, spot=False, on_demand=none, priority=0, reserved=False) %}
|
{% macro aws(arch, max, max_starting, max_prealloc, spot=False, on_demand=none, priority=0, reserved=False) %}
|
||||||
aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot %}spot{% else %}normal{% endif %}{% if reserved %}reserved{% endif %}_{% if devel %}dev{% else %}prod{% endif %}:
|
aws_{{ arch }}_{{ on_demand + '_' if on_demand is not none else '' }}{% if spot %}spot{% else %}normal{% endif %}{% if reserved %}reserved{% endif %}_{% if devel %}dev{% else %}prod{% endif %}:
|
||||||
{% if on_demand %}
|
{% if on_demand and not reserved %}
|
||||||
max: 10
|
max: 10
|
||||||
max_starting: 4
|
max_starting: 4
|
||||||
{% elif reserved and devel %}
|
{% elif reserved and devel %}
|
||||||
|
|||||||
Reference in New Issue
Block a user