ansible/roles/autossh/templates/autossh.j2

10 lines
230 B
Django/Jinja

# {{ ansible_managed }}
AUTOSSH_POLL=60
AUTOSSH_FIRST_POLL=30
AUTOSSH_GATETIME=0
AUTOSSH_PORT=22000
AUTOSSH_PIDFILE={{ autossh_run_path }}/{{ item.name }}.pid
SSH_OPTIONS="{{ item.options | join(' ') }}"
SSH_HOST={{ item.host }}