From bc27dfcb96552ecf5779d793f4a2214c4970a021 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Wed, 17 Mar 2021 09:18:49 +0000 Subject: [PATCH] Make the libvirt ssh_key_file optional in "create-env" --- float | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/float b/float index efa3be4d..67198747 100755 --- a/float +++ b/float @@ -54,7 +54,9 @@ Vagrant.configure(2) do |config| libvirt.host = "{{ libvirt.remote_host }}" libvirt.username = "{{ libvirt.remote_user }}" libvirt.connect_via_ssh = true +{% if libvirt.ssh_key_file %} libvirt.id_ssh_key_file = "{{ libvirt.ssh_key_file }}" +{% endif %} {% endif %} end @@ -149,7 +151,6 @@ DEFAULT_VARS = { 'libvirt': { 'remote_host': None, 'remote_user': None, - 'ssh_key_file': 'id_ed25519', }, # Ansible inventory (hosts are created dynamically). -- GitLab