From 9cb60831da8cfbdc5625eaab9a477764c756674d Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 15 Dec 2020 21:24:59 +0100 Subject: [PATCH] Fix template typo --- templates/sshd_config.j2 | 3 ++- vars/main.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index 2cc7575..cc326b2 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -106,7 +106,8 @@ UsePAM yes # User Authentication {% if sshd__restrict_users -%} AllowUsers {{ sshd__allowed_users|join(' ') }} -{%- endif %} +{% endif %} + {% if sshd__restrict_groups -%} AllowUsers {{ sshd__allowed_groups|join(' ') }} {%- endif %} diff --git a/vars/main.yml b/vars/main.yml index 7a5eb74..54a504c 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -playbook_version_number: 4098 # should be over ninethousand +playbook_version_number: 4099 # should be over ninethousand playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'