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

3 lines
188 B
YAML

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