computer-playbook/roles/native-user-backup/vars/main.yml

3 lines
170 B
YAML

authorized_keys_path: "{{ inventory_dir }}/files/{{ inventory_hostname }}/home/backup/.ssh/authorized_keys"
authorized_keys: "{{ lookup('file', authorized_keys_path) }}"