summaryrefslogtreecommitdiff
path: root/roles/core/sshd/jump/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/sshd/jump/tasks')
-rw-r--r--roles/core/sshd/jump/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/core/sshd/jump/tasks/main.yml b/roles/core/sshd/jump/tasks/main.yml
index 2120cbd6..59cb4f66 100644
--- a/roles/core/sshd/jump/tasks/main.yml
+++ b/roles/core/sshd/jump/tasks/main.yml
@@ -49,9 +49,9 @@
AllowAgentForwarding no
AllowStreamLocalForwarding no
ForceCommand /sbin/nologin
- AllowTcpForwarding local
+ AllowTcpForwarding {{ config.tcp_forwarding | default('local') }}
PermitOpen {{ config.permit_open | default(['any']) | list | join(' ') }}
- PermitListen none
+ PermitListen {{ config.permit_listen | default(['none']) | list | join(' ') }}
{% if not loop.last %}
{% endif %}