bastion: fix conditional for ssh tcpforwarding

I copy pasted this and left a 'not' in there that made this backwards.
Fix the conditional.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi
2026-01-31 08:20:16 -08:00
parent 423f7c0c52
commit 29a00a8986

View File

@@ -40,7 +40,7 @@ UsePAM yes
AllowAgentForwarding no
X11Forwarding no
PermitTunnel no
{% if not ansible_hostname.startswith(('bastion')) %}
{% if ansible_hostname.startswith(('bastion')) %}
# This is a bastion host, we need tcp forwarding here.
AllowTcpForwarding yes
{% else %}