sftpuser: Use custom marker when editing sshd config
This commit is contained in:
parent
2a269c8f0d
commit
7373510902
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue