feat: add ssh keys playbook

This commit is contained in:
Alexander Navarro 2025-07-14 09:11:20 -04:00
parent 7bbd83171a
commit 1fb19fde53

View file

@ -0,0 +1,10 @@
---
- name: Add ssh public key to hosts
hosts: all
# vars:
tasks:
- name: add keys
ansible.posix.authorized_key:
user: aleidk
state: present
key: '{{ lookup("file", "~/.ssh/id_ed25519.pub") }}'