From 9062ea04823b0464280d0a6dcd2e67003ce0d2e1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Aug 2023 21:35:30 +0200 Subject: properly prefix things --- roles/sshd/templates/sshd_config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/sshd/templates/sshd_config.j2') diff --git a/roles/sshd/templates/sshd_config.j2 b/roles/sshd/templates/sshd_config.j2 index abcf0d7..1ea1c12 100644 --- a/roles/sshd/templates/sshd_config.j2 +++ b/roles/sshd/templates/sshd_config.j2 @@ -5,7 +5,7 @@ {% set ssh_port = hostvars[inventory_hostname].ansible_port %} {% set ssh_user = hostvars[inventory_hostname].ansible_user %} -{% set groups = [ssh_user] + ssh_allowed_groups %} +{% set groups = [ssh_user] + sshd_allowed_groups %} {% set groups = groups | sort | unique %} Port {{ ssh_port }} -- cgit v1.2.3