Refactor Ansible tasks and templates for improved consistency and clarity
This commit is contained in:
@@ -171,8 +171,8 @@ HostbasedAuthentication no
|
||||
# The allow/deny directives are processed in the following order: DenyUsers,
|
||||
# AllowUsers, DenyGroups, and finally AllowGroups.
|
||||
# By default, login is allowed for all users.
|
||||
{% if (fact_sshd_allowed_users is defined) and fact_sshd_allowed_users %}
|
||||
AllowUsers {{ fact_sshd_allowed_users }}
|
||||
{% if (common_fact_sshd_allowed_users is defined) and common_fact_sshd_allowed_users %}
|
||||
AllowUsers {{ common_fact_sshd_allowed_users }}
|
||||
{% else %}
|
||||
#AllowUsers back chris sysadm cityslang christoph
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user