12 lines
365 B
YAML
12 lines
365 B
YAML
---
|
|
- name: Add ansible user SSH public key
|
|
ansible.posix.authorized_key:
|
|
user: ansible
|
|
key: "{{ lookup('file', '/home/xbazzi/.ssh/ansible_ed25519.pub') }}"
|
|
state: present
|
|
|
|
- name: Add xbazzi user SSH public key
|
|
ansible.posix.authorized_key:
|
|
user: xbazzi
|
|
key: "{{ lookup('file', '/home/xbazzi/.ssh/lan_id_ed25519.pub') }}"
|
|
state: present |