: add work ssh key

This commit is contained in:
VC
2025-02-05 18:50:48 +01:00
parent b7a496a82c
commit 6aa87d851e
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILxJNQPyVqQG1C5xEMuyUF9AzZd8s5J7k0kZ7qzn9a0P cveret@HLD5CD4424T4V

View File

@@ -100,6 +100,12 @@
state: present
key: "{{ lookup('file', 'ssh/home.id_ed25519.pub') }}"
- name: Put ssh key work
ansible.posix.authorized_key:
user: root
state: present
key: "{{ lookup('file', 'ssh/work.id_ed25519.pub') }}"
- name: Put cron-apt configuration file
ansible.builtin.copy:
src: files/5-install