Files
computer-playbook/roles/sys-bkp-provider-user/vars/main.yml

4 lines
191 B
YAML

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