mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
8 lines
228 B
YAML
8 lines
228 B
YAML
- 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') }}"
|
|
|