Commit 51b66f20 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

sshd: validate sshd_config on copying

parent bd4fd43a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment