commited current state

This commit is contained in:
DerLinkman
2026-05-08 21:27:10 +02:00
parent ffc1a6a8a5
commit 45ccd6a25f
43 changed files with 576 additions and 102 deletions
+17
View File
@@ -0,0 +1,17 @@
---
- name: Create .ssh directory for admin user
file:
path: /home/admin/.ssh
state: directory
owner: admin
group: admin
mode: '0700'
- name: Deploy authorized SSH keys for admin user
template:
src: authorized_keys.j2
dest: /home/admin/.ssh/authorized_keys
owner: admin
group: admin
mode: '0600'
when: admin_authorized_keys is defined and admin_authorized_keys | length > 0