ubuntu# snap refresh ubuntu# snap install gitea ubuntu# service snap.gitea.web status
Database Type: SQLite3 ROOT_URL: http://server.corpX.un:3000/ Administrator Account Settings: Administrator Username: student Email: student@corpX.un Password: ... ...
# cat /etc/gitea/app.ini или # cat /var/snap/gitea/common/conf/app.ini
... [service] DISABLE_REGISTRATION = true ... [webhook] ALLOWED_HOST_LIST = corpX.un, 192.168.0.0/16
# curl http://gate.corpX.un:3000/student/ansible-pull-gpo/raw/branch/main/start.sh | bash