Added validation for file modifcation
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
AuthorizedKeysCommandUser git
|
AuthorizedKeysCommandUser git
|
||||||
AuthorizedKeysCommand /usr/bin/docker exec -i gitea /usr/local/bin/gitea keys -c /etc/gitea/app.ini -e git -u %u -t %t -k %k
|
AuthorizedKeysCommand /usr/bin/docker exec -i gitea /usr/local/bin/gitea keys -c /etc/gitea/app.ini -e git -u %u -t %t -k %k
|
||||||
become: true
|
become: true
|
||||||
|
validate: /usr/sbin/sshd -T -f %s
|
||||||
notify: restart sshd
|
notify: restart sshd
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user