copr-hypervisors: upload images to p08 and p09 hypervisors
This commit is contained in:
parent
d1f986e26f
commit
f1b1dac68f
1 changed files with 7 additions and 2 deletions
|
@ -6,11 +6,16 @@ image=$1
|
|||
|
||||
libvirt_connections='
|
||||
{% for host in groups["copr_hypervisor"] %}
|
||||
{% for arch in ["p08", "x86"] %}
|
||||
{% if arch in inventory_hostname and arch in hostvars[host]['inventory_hostname'] %}
|
||||
{% for arch in ["p08", "p09", "x86"] %}
|
||||
{% if arch in inventory_hostname %}
|
||||
{% set acceptable = ["p08", "p09"] if arch in ["p08", "p09"] else [arch] %}
|
||||
{% for check in acceptable %}
|
||||
{% if check in hostvars[host]['inventory_hostname'] %}
|
||||
qemu+ssh://copr@{{ hostvars[host]['inventory_hostname'] }}/system
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue