fix: update SSH public key copy task to use remote source

This commit is contained in:
2025-12-05 18:49:42 +01:00
parent 5762bd0a5e
commit 0c73433277

View File

@@ -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