2023-05-10 15:07:10 +00:00
|
|
|
---
|
2023-05-10 15:15:57 +00:00
|
|
|
# task/add_ssh_keys file for provision_management_user
|
2023-05-10 15:07:10 +00:00
|
|
|
- name: "Add key to authorized_keys"
|
|
|
|
ansible.posix.authorized_key:
|
2023-05-10 15:15:57 +00:00
|
|
|
user: "{{ provision_management_user_name }}"
|
|
|
|
key: "{{ provision_management_user_ssh_key }}"
|
|
|
|
comment: "{{ provision_management_user_name }}@{{ ansible_hostname }}"
|
|
|
|
key_options: "{{ provision_management_user_ssh_key_options }}"
|
|
|
|
exclusive: "{{ provision_management_user_ssh_key_exclusive }}"
|