playbook_create_ssh_config: make jumphosts possible
This commit is contained in:
parent
0a4b6d3229
commit
824fcc6343
|
@ -11,6 +11,9 @@
|
|||
Host {{ host }}
|
||||
User root
|
||||
Hostname {{ hostvars[host]["ip"] }}
|
||||
{% if jumphost is defined and jumphost != host %}
|
||||
ProxyJump {{ jumphost }}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
dest: ~/.ssh/ffl_eae_adp_config
|
||||
|
|
Loading…
Reference in New Issue