Fix yamllint errors
This commit is contained in:
parent
3013f4f65d
commit
37c3ad0e27
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
char: "{{ 'bcdefghijklmnopqrstuvwxyz'|list }}"
|
char: "{{ 'bcdefghijklmnopqrstuvwxyz'|list }}"
|
||||||
console_log: "/var/log/libvirt/qemu/{{ inventory_hostname }}.console.log"
|
console_log: "/var/log/libvirt/qemu/{{ inventory_hostname }}.console.log"
|
||||||
os_disk_image: "/srv/libvirt/ssd/{{ inventory_hostname }}.a.img"
|
os_disk_image: "/srv/libvirt/ssd/{{ inventory_hostname }}.a.img"
|
||||||
dsk_opts: bus=virtio,cache=none,device=disk,format=raw
|
dsk_opts: bus=virtio,cache=none,device=disk,format=raw,sparse=no
|
||||||
|
|
||||||
inject: >-
|
inject: >-
|
||||||
{% if not '--cdrom' in virt_install_os_args %}{{ true }}{% endif %}
|
{% if not '--cdrom' in virt_install_os_args %}{{ true }}{% endif %}
|
||||||
|
@ -24,7 +24,8 @@
|
||||||
{% set type = "hdd" %}
|
{% set type = "hdd" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% set base = "/srv/libvirt/" + type + "/" + inventory_hostname %}
|
{% set base = "/srv/libvirt/" + type + "/" + inventory_hostname %}
|
||||||
--disk {{ base }}.{{ char[i] }}.img,{{ dsk_opts }},size={{ datadisks[i].size }},sparse=no
|
{% set size = datadisks[i].size %}
|
||||||
|
--disk {{ base }}.{{ char[i] }}.img,{{ dsk_opts }},size={{ size }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue