Commit graph

269 commits

Author SHA1 Message Date
0192344ecc Add logrotate for forgejo 2023-01-18 11:20:11 +01:00
bf6ddb08e6 Add repos tasks for forgejo 2023-01-18 10:56:22 +01:00
60461a192b Add fail2ban tasks for forgejo 2023-01-18 10:18:47 +01:00
baf8bf386b Add start tasks for forgejo 2023-01-18 10:01:47 +01:00
06088a9e50 Add backup tasks for forgejo 2023-01-17 16:59:32 +01:00
1cce9c2457 Minor renaming 2023-01-17 16:18:10 +01:00
19aae836da Add binary installation for forgejo 2023-01-17 16:16:42 +01:00
16241c9037 Start new role forgejo 2023-01-16 14:36:54 +01:00
292fc3adba Use variables for gitea directories 2023-01-16 14:32:13 +01:00
97aa822ee6 At startup, fail2ban is not started so nftables post-hook exits with 1 2023-01-16 13:34:38 +01:00
947723155e Fix some errors in gitea playbook 2023-01-16 10:37:40 +01:00
230a42bc24 Update vars after gitea 1.18.0 breaking changes 2022-12-30 22:25:00 +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
3a4b058bcb Fix missing var 2022-12-26 23:32:24 +01:00
0e78747b10 Rename certbot to setup_certbot 2022-12-26 08:13:00 +01:00
09e91c03d3 Merge deuxpuissanceiks_mariadb into deuxpuissanceiks role 2022-12-26 08:08:43 +01:00
b02893bc26 Merge deuxpuissanceiks_apache2 into deuxpuissanceiks role 2022-12-26 08:04:11 +01:00
1cc9d38c5c Merge gitea_mariadb into gitea role 2022-12-26 07:58:38 +01:00
f864a1539e Rename vars 2022-12-26 07:57:57 +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
5b4e5b84af Don't report changed on file checks 2022-12-23 23:25:57 +01:00
23d6cd2312 Add file for vault password 2022-12-23 23:23:23 +01:00
04ca1104c4 Fix gitea_backup script: log into one file, use rsync instead of mv 2022-12-23 23:22:51 +01:00
da9bfe0d00 Ask for path of gitea dump to push 2022-12-23 22:35:45 +01:00
1d84b0dd90 Fix gitea_fail2ban needed gitea log file to be present 2022-12-23 22:15:03 +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
322dabe243 Change indentation from tabs to spaces 2022-12-23 21:34:25 +01:00
2751a91608 Fix gitea crontab and log into /var/log/gitea 2022-12-23 21:21:15 +01:00
87327d006d Fix some linting 2022-12-16 21:25:23 +01:00
06eb090c33 Remove /media location from 2px 2022-10-02 00:13:06 +02: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
94f69eea24 Add gitea_user and gitea_pass, for use with gitea's API 2022-10-01 00:39:49 +02:00
abaef4bf90 Add missing handler 2022-10-01 00:29:09 +02:00
225a86331b Permit outgoing SSH too 2022-10-01 00:20:53 +02:00
a12b50a01f Setup gitea-backup crontab 2022-09-28 22:03:57 +02:00
1dfe585364 Rename role 2px to deuxpuissanceiks 2022-09-28 21:33:45 +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
e13428d63b Name playbook 2022-08-28 21:47:53 +02:00