9 lines
258 B
YAML
9 lines
258 B
YAML
---
|
|
# Authorize this key to this users ~/.ssh/authorized_keys file
|
|
- name: Adding {{ authorize }} to {{ user }} user ~/.ssh/authorized_keys file
|
|
authorized_key:
|
|
user: '{{ user }}'
|
|
key: '{{ item }}'
|
|
with_file:
|
|
- 'keys/{{ authorize }}.key.pub'
|