diff --git a/files/id_ed25519_proxmox.pub b/files/id_ed25519_proxmox.pub new file mode 100644 index 0000000..86de8b0 --- /dev/null +++ b/files/id_ed25519_proxmox.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPcfT2ouxUaCwGBTT5OyR//M/9N5EB2PjXUoPT+ncASf proxmox diff --git a/files/id_ed25519_semaphore.pub b/files/id_ed25519_semaphore.pub new file mode 100644 index 0000000..d09d917 --- /dev/null +++ b/files/id_ed25519_semaphore.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAZYhHsurKUxGWITSL6WTBqwI7DT9OCvwdK55htUWVKB semaphore diff --git a/playbooks/copy-ssh-key.yaml b/playbooks/copy-ssh-key.yaml new file mode 100644 index 0000000..e396e20 --- /dev/null +++ b/playbooks/copy-ssh-key.yaml @@ -0,0 +1,13 @@ +- hosts: all + become: yes + + tasks: + - name: Install Proxmox Root SSH key + authorized_key: + user: root + key: "{{ lookup('file', 'id_ed25519_proxmox.pub') }}" + + - name: Install Proxmox Root SSH key + authorized_key: + user: root + key: "{{ lookup('file', 'id_ed25519_semaphore.pub') }}"