This commit is contained in:
Fern Garden 2025-05-08 09:17:30 +08:00
parent 667fc21c12
commit 75cacd3182
15 changed files with 125 additions and 148 deletions

View file

@ -0,0 +1,11 @@
- name: Add SSH Key
ansible.posix.authorized_key:
user: fern
state: present
key: "{{ lookup('file', '/home/fern/.ssh/id_ed25519.pub') }}"
- name: Set sudo rules
community.general.sudoers:
name: sudo
commands: ALL
user: fern