27 lines
557 B
Text
27 lines
557 B
Text
|
# {{ ansible_managed }}
|
||
|
Host ssh.n39.eu
|
||
|
Hostname ssh.n39.eu
|
||
|
IdentityFile {{ setup_ssh_key }}
|
||
|
IdentitiesOnly yes
|
||
|
User {{ setup_ssh_logname }}
|
||
|
Port 22
|
||
|
|
||
|
{% for host in groups['ssh_jump'] %}
|
||
|
Host {{ host }}
|
||
|
Hostname {{ host }}
|
||
|
IdentityFile {{ setup_ssh_key }}
|
||
|
IdentitiesOnly yes
|
||
|
User {{ setup_ssh_logname }}
|
||
|
ProxyJump ssh.n39.eu
|
||
|
Port 22
|
||
|
|
||
|
{% endfor %}
|
||
|
{% for host in groups['ssh_no_jump'] %}
|
||
|
Host {{ host }}
|
||
|
Hostname {{ host }}
|
||
|
IdentityFile {{ setup_ssh_key }}
|
||
|
IdentitiesOnly yes
|
||
|
User {{ setup_ssh_logname }}
|
||
|
Port 22
|
||
|
|
||
|
{% endfor %}
|