aboutsummaryrefslogtreecommitdiffstats
path: root/roles/sshd/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:32:37 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-02-08 13:33:36 +0100
commitadfb09b9e19f7a31632eab01171693cb81ec75ef (patch)
tree7b05135581ff49e7a5655ab07af7bba2ada43585 /roles/sshd/templates
parent5c5b0fbf68dca224b7f92f5de0913fd684e7d3d9 (diff)
downloadrules-adfb09b9e19f7a31632eab01171693cb81ec75ef.tar.gz
refactor(roles): new variable naming standard
Diffstat (limited to 'roles/sshd/templates')
-rw-r--r--roles/sshd/templates/sshd_config.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/sshd/templates/sshd_config.j2 b/roles/sshd/templates/sshd_config.j2
index b8affa8..179738a 100644
--- a/roles/sshd/templates/sshd_config.j2
+++ b/roles/sshd/templates/sshd_config.j2
@@ -1,7 +1,7 @@
# managed by Ansible
# network
-Port {{ sshd_listen_port }}
+Port {{ sshd__listen_port }}
# security
PermitRootLogin yes
@@ -13,7 +13,7 @@ AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
ClientAliveInterval 180
-X11Forwarding {{ "yes" if sshd_enable_x11_forwarding else "no" }}
+X11Forwarding {{ "yes" if sshd__enable_x11_forwarding else "no" }}
{% if ansible_distribution == "Debian" %}
Subsystem sftp /usr/lib/openssh/sftp-server
remember that computers suck.