From 0c73433277f6a5f1dfae4ec9625caf5871073270 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 5 Dec 2025 18:49:42 +0100 Subject: [PATCH] fix: update SSH public key copy task to use remote source --- tasks/configure-vm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/configure-vm.yml b/tasks/configure-vm.yml index 48ac0b2..45760d7 100644 --- a/tasks/configure-vm.yml +++ b/tasks/configure-vm.yml @@ -145,8 +145,9 @@ - name: "[CONFIG] Copy SSH public key to snippets" ansible.builtin.copy: - src: "{{ ssh_keys_file | expanduser }}" + src: "{{ ssh_keys_file }}" dest: "/var/lib/vz/snippets/{{ vm_id }}-sshkey.pub" + remote_src: true mode: "0644" register: ssh_snippet