diff --git a/roles/copr/backend/templates/provision/upload-qcow2-images b/roles/copr/backend/templates/provision/upload-qcow2-images index 14ac1b8eb8..c1dd3c8577 100755 --- a/roles/copr/backend/templates/provision/upload-qcow2-images +++ b/roles/copr/backend/templates/provision/upload-qcow2-images @@ -6,7 +6,11 @@ image=$1 connections=' {% for host in groups["copr_hypervisor"] %} +{% for arch in ["p08", "x86"] %} +{% if arch in inventory_hostname and arch in hostvars[host]['inventory_hostname'] %} qemu+ssh://copr@{{ hostvars[host]['inventory_hostname'] }}/system +{% endif %} +{% endfor %} {% endfor %} '