ansible/playbooks/00_distribute_ssh_keys.yml
ladislav.dusa afc7817a81 conf added
2024-12-11 16:33:42 +01:00

8 lines
228 B
YAML
Executable File

- hosts: odroid_cluster
tasks:
- name: Set authorized key taken from file
ansible.posix.authorized_key:
user: jd
state: present
key: "{{ lookup('file', '/home/jd/.ssh/id_rsa.pub') }}"