openstack-ansible-os_nova/templates/ssh_config.j2
Dmitriy Rabotyagov 5884318116 Allow to apply custom configuration to Nova SSH config
In case compute nodes using non-standard SSH port or some other
hacky connection between each other, deployers might need to
supply extra configuration inside it.

community.general.ssh_config module was not used, as it requires extra
`paramiko` module to be installed on each destination host.

Change-Id: Ic79aa391e729adf61f5653dd3cf72fee1708e2f5
2024-09-27 12:58:02 +00:00

6 lines
134 B
Django/Jinja

Host *
StrictHostKeyChecking no
{% for key, value in nova_ssh_custom_config.items() %}
{{ key }} {{ value }}
{% endfor %}