commit 681974a85706205c8cdd6d71cd1a9028ce0fc0ce
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 31 12:58:19 2019 +0200
Avoid a default port
roles/basessh/templates/sshd_config | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/basessh/templates/sshd_config b/roles/basessh/templates/sshd_config
index 3138bfd..4ed7b9a 100644
--- a/roles/basessh/templates/sshd_config
+++ b/roles/basessh/templates/sshd_config
@@ -1,6 +1,6 @@
Protocol 2
-Port {{ sshd_port|22 }}
+Port {{ sshd_port }}
{% if ansible_distribution_major_version == "6" %}
KexAlgorithms diffie-hellman-group-exchange-sha256
Show replies by date