mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-03 00:03:05 +02:00
init
This commit is contained in:
8
playbooks/00_distribute_ssh_keys.yml
Normal file
8
playbooks/00_distribute_ssh_keys.yml
Normal file
@ -0,0 +1,8 @@
|
||||
- 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') }}"
|
||||
|
Reference in New Issue
Block a user