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

@@ -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']