vn-ansible/create_user_ssh/add_authorized_key.yml

8 lines
164 B
YAML

---
- hosts: "{{ host }}"
vars:
- name: Set up multiple authorized keys
ansible.posix.authorized_key:
user: deploy
state: present
key: '{{ key }}'