mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
klal
This commit is contained in:
1 parent
68775c50da
commit
e3cd8f5843
16 files changed
+236
-35
No files matched your search
@@ -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