copr-hv: upload images only to appropriate hypervisors
This commit is contained in:
parent
84d69178f3
commit
d10cb77f9b
1 changed files with 4 additions and 0 deletions
|
@ -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 %}
|
||||
'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue