Added copy-ssh-key.yaml
This commit is contained in:
15
playbooks/copy-ssh-key.yaml
Normal file
15
playbooks/copy-ssh-key.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
- hosts: all
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: Install Proxmox Root SSH key
|
||||
authorized_key:
|
||||
user: root
|
||||
key_file: "{{ playbook_dir }}/../files/id_ed25519_proxmox.pub"
|
||||
manage_dir: true
|
||||
|
||||
- name: Install Semaphore Root SSH key
|
||||
authorized_key:
|
||||
user: root
|
||||
key_file: "{{ playbook_dir }}/../files/id_ed25519_semaphore.pub"
|
||||
manage_dir: true
|
||||
Reference in New Issue
Block a user