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

Merge pull request #4 from abrain/patch-1

Fix AllowGroups configuration
This commit is contained in:
L3D 2022-03-27 20:35:51 +02:00 committed by GitHub
commit 300ba7f1f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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