vn-ansible/create_user_ssh/add_authorized_key.yml

12 lines
195 B
YAML

---
- hosts: "{{ host }}"
vars:
tasks:
- name: SYSTEM - Set authorized key for test_user took from file
tags: system-user
authorized_key:
state: present
key: "{{ key }}"