feat: add stef keys to fedinupes servers
This commit is contained in:
@@ -218,6 +218,11 @@ disabled_syslog:
|
|||||||
machinbox.mateu.be:
|
machinbox.mateu.be:
|
||||||
muse-HP-EliteBook-820-G2.home.arpa:
|
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:
|
unifiservers:
|
||||||
hosts:
|
hosts:
|
||||||
unifi.dmz.mateu.be:
|
unifi.dmz.mateu.be:
|
||||||
|
1
roles/system/files/ssh/stefofficiel.id_rsa.pub
Normal file
1
roles/system/files/ssh/stefofficiel.id_rsa.pub
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaugK6NnC9ZPyl8jRrAurAfaQSAQdBLDV81RNHziaD6 fhc@fhc-MacBookPro
|
@@ -18,3 +18,11 @@
|
|||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', 'ssh/work.id_rsa.pub') }}"
|
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']
|
||||||
|
Reference in New Issue
Block a user