This commit is contained in:
David Lopez 2023-07-26 11:08:05 +02:00
parent 93d23cf14b
commit d4405bdb61
1 changed files with 5 additions and 4 deletions

View File

@ -3,8 +3,9 @@
vars:
tasks:
- name: Set up multiple authorized keys
ansible.posix.authorized_key:
user: deploy
- name: SYSTEM - Set authorized key for test_user took from file
tags: system-user
authorized_key:
user: "{{ user }}"
state: present
key: "{{ key }}"
key: "{{ key }}