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:
parent
bd4fd43a28
commit
51b66f2068
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue