feat: add stef keys to fedinupes servers

This commit is contained in:
VC
2024-07-05 11:53:24 +02:00
parent 8b5a2c0791
commit 27365fec2b
3 changed files with 14 additions and 0 deletions

View File

@@ -218,6 +218,11 @@ disabled_syslog:
machinbox.mateu.be:
muse-HP-EliteBook-820-G2.home.arpa:
fedinupesservers:
hosts:
93b2685c-9087-4e52-a66f-bf44bfc4a13a.pub.instances.scw.cloud:
20b4f083-4ef3-4a82-b15c-edbc31aa1731.pub.instances.scw.cloud:
unifiservers:
hosts:
unifi.dmz.mateu.be:

View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaugK6NnC9ZPyl8jRrAurAfaQSAQdBLDV81RNHziaD6 fhc@fhc-MacBookPro

View File

@@ -18,3 +18,11 @@
user: root
state: present
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
- name: ssh keys stef
authorized_key:
user: root
state: present
key: "{{ lookup('file', 'ssh/stefofficiel.id_rsa.pub') }}"
path: "~/.ssh/instance_keys"
when: inventory_hostname in groups['fedinupesservers']