소스 검색

Tiny fixes in SSH configuration

Emmanuel Bouthenot 9 년 전
부모
커밋
00bd792069
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/common/templates/ssh/sshd_config.j2

+ 1 - 1
roles/common/templates/ssh/sshd_config.j2

@@ -117,7 +117,7 @@ AllowUsers {{ ssh_allowed_users | join(' ') }}
 AllowGroups {{ ssh_allowed_groups | join(' ') }}
 {% endif %}
 
-{% if ssh_local_config is defined %}
+{% if ssh_local_config is defined and ssh_local_config %}
 # Additional parameters
 {{ ssh_local_config|join('\n') }}
 {% endif %}