✨: add work ssh key
This commit is contained in:
1
roles/system/files/ssh/work.id_ed25519.pub
Normal file
1
roles/system/files/ssh/work.id_ed25519.pub
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILxJNQPyVqQG1C5xEMuyUF9AzZd8s5J7k0kZ7qzn9a0P cveret@HLD5CD4424T4V
|
@@ -100,6 +100,12 @@
|
|||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', 'ssh/home.id_ed25519.pub') }}"
|
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
|
- name: Put cron-apt configuration file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/5-install
|
src: files/5-install
|
||||||
|
Reference in New Issue
Block a user