fix: update SSH public key copy task to use remote source
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user