mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-02-02 12:49:00 +08:00
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:
@@ -40,7 +40,7 @@ UsePAM yes
|
|||||||
AllowAgentForwarding no
|
AllowAgentForwarding no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
PermitTunnel no
|
PermitTunnel no
|
||||||
{% if not ansible_hostname.startswith(('bastion')) %}
|
{% if ansible_hostname.startswith(('bastion')) %}
|
||||||
# This is a bastion host, we need tcp forwarding here.
|
# This is a bastion host, we need tcp forwarding here.
|
||||||
AllowTcpForwarding yes
|
AllowTcpForwarding yes
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user