diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2018-01-15 01:34:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-15 01:34:19 +0000 |
commit | cd43e1188a918cbf94738c08012a21152bd535d2 (patch) | |
tree | ed64a1d31a668583a0bed8324925e1da0cf1c03d /resources/ansible_roles/qtip-generator | |
parent | a9130ff7b0593a2e4d6fe3c84d44892b1c0a3340 (diff) | |
parent | 8cc5df6f9e3222b827397367840fa6423130bb80 (diff) |
Merge "Add a judgement to control the proxy jump configuration"
Diffstat (limited to 'resources/ansible_roles/qtip-generator')
-rw-r--r-- | resources/ansible_roles/qtip-generator/files/compute/templates/ssh.cfg | 2 |
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 |