Skip to content
Snippets Groups Projects
Verified Commit 867a0f56 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/sshd: Simplification of the template check for a build server

parent e999a8d3
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ ChallengeResponseAuthentication no
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
{% if 'buildservers' in group_names and inventory_hostname in groups['buildservers'] %}
{% if 'buildservers' in group_names %}
#AllowAgentForwarding yes
#AllowTcpForwarding yes
{% else %}
......@@ -125,7 +125,7 @@ StreamLocalBindUnlink yes
# PermitTTY no
# ForceCommand cvs server
{% if 'buildservers' in group_names and inventory_hostname in groups['buildservers'] %}
{% if 'buildservers' in group_names %}
Match User root
X11Forwarding no
AllowAgentForwarding no
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment