mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-05 05:39:55 +08:00
Sigh, |bool doesn't do what you might think it does: https://medium.com/opsops/wft-bool-filter-in-ansible-e7e2fd7a148f Signed-off-by: Adam Williamson <awilliam@redhat.com>
14 lines
513 B
Django/Jinja
14 lines
513 B
Django/Jinja
[global]
|
|
HOST = http://{{ openqa_hostname|default('localhost') }}
|
|
{% if openqa_worker_class is defined %}
|
|
WORKER_CLASS = {{ openqa_worker_class }}
|
|
{% elif openqa_tap %}
|
|
{% if ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_ppc64le,qemu_ppc64
|
|
{% elif ansible_architecture == 'aarch64' %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_aarch64,qemu_arm
|
|
{% else %}
|
|
WORKER_CLASS = {{ openqa_tap }},tpm,qemu_x86_64,qemu_i686,qemu_i586
|
|
{% endif %}
|
|
{% endif %}
|