mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-05-04 19:39:50 +02:00
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
when: inventory_hostname != 'nas.home.lan'
|
||||
- name: Upload key
|
||||
ansible.builtin.copy:
|
||||
src: id_rsa.pub
|
||||
dest: /home/jd/.ssh/id_rsa.pub
|
||||
src: id_ed25519_homelab.pub
|
||||
dest: /home/jd/.ssh/id_ed25519_homelab.pub
|
||||
mode: '0600'
|
||||
owner: jd
|
||||
group: jd
|
||||
@@ -28,4 +28,4 @@
|
||||
ansible.posix.authorized_key:
|
||||
user: jd
|
||||
state: present
|
||||
key: "{{ lookup('file', '/home/jd/.ssh/id_rsa.pub') }}"
|
||||
key: "{{ lookup('file', '/home/jd/.ssh/id_ed25519_homelab.pub') }}"
|
||||
|
||||
Reference in New Issue
Block a user