Don't hardcode private dir to vm-create

This commit is contained in:
Timo Makinen 2020-08-27 12:41:16 +00:00
parent fc25e0a108
commit 78c9a2eaf1

View file

@ -5,7 +5,7 @@
vars: vars:
vmhost_uri: "qemu+ssh://root@{{ vmhost }}/system" vmhost_uri: "qemu+ssh://root@{{ vmhost }}/system"
root_pubkey: "{{ lookup('file', '/srv/ansible-private/ssh/id_rsa.pub') }}" root_pubkey: "{{ lookup('file', ansible_private + '/ssh/id_rsa.pub') }}"
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"