1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

Fix AllowGroups configuration

This commit is contained in:
Andreas Brain 2022-02-21 13:31:13 +01:00 committed by GitHub
parent 1d7448d086
commit 374079ac50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ UsePAM yes
{% endif %}
{% if sshd__restrict_groups -%}
AllowUsers {{ sshd__allowed_groups|join(' ') }}
AllowGroups {{ sshd__allowed_groups|join(' ') }}
{%- endif %}
# Allow client to pass locale environment variables