sftpuser: Use custom marker when editing sshd config

This commit is contained in:
Timo Makinen 2021-09-18 16:56:46 +00:00
parent 2a269c8f0d
commit 7373510902

View file

@ -30,5 +30,6 @@
ChrootDirectory {{ chroot }}
ForceCommand internal-sftp
AuthorizedKeysFile /etc/ssh/authorized_keys.{{ user }}
marker: "# {mark} ANSIBLE MANAGED BLOCK (user {{ user }})"
validate: "sshd -t -f %s"
notify: restart sshd