vn-ansible/create_user_ssh/add_authorized_key.yml

8 lines
164 B
YAML
Raw Normal View History

2023-07-26 08:57:51 +00:00
---
2023-07-26 09:01:55 +00:00
hosts: "{{ host }}"
2023-07-26 08:53:47 +00:00
vars:
- name: Set up multiple authorized keys
ansible.posix.authorized_key:
user: deploy
state: present
2023-07-26 09:00:18 +00:00
key: "{{ key }}"