36 lines
602 B
Plaintext
36 lines
602 B
Plaintext
|
[vm]
|
||
|
ubuntu@localhost
|
||
|
|
||
|
[vm:vars]
|
||
|
host=mirror
|
||
|
ansible_connection=ssh
|
||
|
ansible_port=7777
|
||
|
ansible_user=local
|
||
|
ansible_password=password
|
||
|
ansible_become_user=root
|
||
|
ansible_become_password=password
|
||
|
|
||
|
[local]
|
||
|
127.0.0.1
|
||
|
|
||
|
[local:vars]
|
||
|
ansible_connection=local
|
||
|
|
||
|
# path to OVMF_CODE.fd
|
||
|
ovmf=/usr/share/edk2-ovmf/x64/OVMF_CODE.fd
|
||
|
|
||
|
# ram allocated for the vm
|
||
|
vm_ram=3G
|
||
|
|
||
|
# vm_vcpus=1
|
||
|
|
||
|
# TODO: different sizes for root and zpool disks
|
||
|
vm_disk_size=10G
|
||
|
|
||
|
# directory to store disks and iso
|
||
|
userdata="{{playbook_dir}}/userdata"
|
||
|
|
||
|
# vm doesn't seem to start with 22
|
||
|
# if changed modify ansible_port to match
|
||
|
vm_ssh_port=7777
|