1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-10 03:06:03 +02:00

sshd: validate sshd_config on copying

This commit is contained in:
Jelle van der Waa 2018-12-02 21:23:26 +01:00
parent bd4fd43a28
commit 51b66f2068

View File

@ -4,7 +4,7 @@
pacman: name=openssh state=present
- name: configure sshd
template: src=sshd_config.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0644
template: src=sshd_config.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0644 validate='/usr/sbin/sshd -t -f %s'
notify:
- restart sshd