Commit graph

46 commits

Author SHA1 Message Date
292fc3adba Use variables for gitea directories 2023-01-16 14:32:13 +01:00
947723155e Fix some errors in gitea playbook 2023-01-16 10:37:40 +01:00
90814de597 Don't use date in gitea dump pushing, use latest present dump on the server instead 2022-12-28 10:53:52 +01:00
d4c2cc1e75 Move some tasks from gitea to gitea repos 2022-12-28 10:29:16 +01:00
05a29560af Move some tasks from gitea to gitea backup 2022-12-28 10:26:00 +01:00
c30e388349 Move some tasks from gitea main to gitea binary 2022-12-27 22:08:57 +01:00
a9843c1bca /var/lib/gitea is 0750 so stat needs become true 2022-12-27 22:03:54 +01:00
e74c8b511d Move gitea home to /var/lib/gitea 2022-12-27 11:33:45 +01:00
e49610d551 Move some tasks from gitea main to gitea unix 2022-12-27 10:51:38 +01:00
1cc9d38c5c Merge gitea_mariadb into gitea role 2022-12-26 07:58:38 +01:00
8c03857a64 Merge gitea_apache2 into gitea role 2022-12-26 07:57:45 +01:00
c8fed5771f Merge gitea_fail2ban into gitea role 2022-12-26 07:14:02 +01:00
da9bfe0d00 Ask for path of gitea dump to push 2022-12-23 22:35:45 +01:00
e4ceefd575 Fix config for gitea log dir 2022-12-23 22:12:36 +01:00
124309a6d6 Setup logrotate 2022-12-23 21:35:04 +01:00
87327d006d Fix some linting 2022-12-16 21:25:23 +01:00
a193020142 Don't recurse directory mode, or it chmods existing files 2022-10-01 11:48:26 +02:00
665ef414a0 Get ssh fingerprints and add condition for uploading the SSH key 2022-10-01 11:47:15 +02:00
6587f1621a Generate SSH keys for git and use gitea's API to push the public key 2022-10-01 01:40:20 +02:00
bf5d668fae Gitea service is not reloadable 2022-10-01 00:41:21 +02:00
a12b50a01f Setup gitea-backup crontab 2022-09-28 22:03:57 +02:00
3f9a84db55 Add TODO note 2022-08-28 22:17:48 +02:00
37551c095c Fix conditional 2022-08-28 21:56:34 +02:00
c432997de2 Move gitea dump prompt to gitea role 2022-08-21 16:15:44 +02:00
15f84e1b1f Fix lint nagging 2022-06-25 14:48:38 +02:00
9ab4d5a70c Minor rearrangement and add comment to zipfile prompt 2022-06-08 22:31:46 +02:00
e0bdcf5d17 Reload gitea.service if app.ini is updated 2022-06-08 22:18:12 +02:00
259385065d Fix task name 2022-06-08 22:14:29 +02:00
b08eb5255a Remove useless keys in gitea app.ini, make sure app.ini's dir belongs to git 2022-04-13 23:27:58 +02:00
e0820766ae Minor name change 2022-04-13 22:21:05 +02:00
fafe84630f Fix gitea_backup.sh script 2022-04-11 15:10:28 +02:00
8a766646f0 Set sudoer permissions for git 2022-04-10 17:26:53 +02:00
cdeeebac32 Add gitea restore command to deploy repos 2022-04-10 13:54:32 +02:00
4424ad8877 gitea service has to be running for deploying the repos 2022-04-10 12:44:11 +02:00
381059eaa7 Don't download gitea binary if not needed 2022-04-09 13:52:53 +02:00
1964e28d7d Escape backup script 2022-04-09 13:46:41 +02:00
3aa6ac1bd5 Copy gitea_backup.sh script 2022-04-09 13:30:32 +02:00
f2d3382db5 Fix arch for arm 2022-04-09 13:03:23 +02:00
83e65f7afb Rename handlers 2022-04-09 12:51:52 +02:00
7441940baa Move gpg verification to handlers 2022-04-09 11:04:23 +02:00
42d3c7eb40 Add changed_when to gpg command 2022-04-08 22:54:14 +02:00
231da79a9c Verify gitea binary 2022-04-08 00:10:43 +02:00
c91cd93b6b Download gitea binary 2022-04-07 23:50:18 +02:00
1b39e5de29 Add app.ini template for gitea with vars 2022-04-07 22:43:12 +02:00
51305f107e Create gitea directories 2022-04-07 21:14:10 +02:00
530e5e6800 Add git user and group 2022-04-07 21:00:33 +02:00