forked from infra/ansible
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:
parent
423f7c0c52
commit
29a00a8986
1 changed files with 1 additions and 1 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue