11 lines
314 B
Django/Jinja
11 lines
314 B
Django/Jinja
# {{ ansible_managed }}
|
|
{% for host in groups[rclone_hostgroup | default(rclone_service)] %}
|
|
|
|
[{{ host.split('.')[0] }}]
|
|
type = sftp
|
|
host = {{ host }}
|
|
user = {{ rclone_service }}
|
|
shell_type = none
|
|
key_file = /etc/rclone/ssh_{{ rclone_service }}_ed25519_key
|
|
known_hosts_file = /etc/ssh/ssh_known_hosts
|
|
{% endfor %}
|