vn-ansible/create_user_ssh/add_authorized_key.yml

10 lines
176 B
YAML
Raw Normal View History

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