summaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/qtip-generator
diff options
context:
space:
mode:
Diffstat (limited to 'resources/ansible_roles/qtip-generator')
-rw-r--r--resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg b/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg
index 1b7c0183..94acd778 100644
--- a/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg
+++ b/resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg
@@ -10,7 +10,9 @@
Host {{ name }}
HostName {{ host.ansible_ssh_host }}
User {{ host.ansible_user }}
+{% if proxy_jump %}
ProxyCommand ssh -o 'ForwardAgent yes' {{ installer_host }} 'ssh-add && nc %h %p'
+{% endif %}
{% endfor %}
{% endraw %} \ No newline at end of file