Commit graph

64 commits

Author SHA1 Message Date
d866766ea9 Don't ask for forgejo_dump_path, just deploy the repos if the path was given 2025-01-31 21:45:33 +01:00
30c22eb143 Use sendmail for forgejo mailing 2025-01-24 22:00:55 +01:00
b54c1ccc33 Make default email a real email 2025-01-19 19:16:09 +01:00
Tunui Franken
f041c35b86 Minor changes 2024-12-31 18:24:58 +01:00
Tunui Franken
3dbee0703d [forgejo] Move vaulted variables to inventory
Use defaults for examples and defaults
2024-12-31 18:17:38 +01:00
71053ef90b Add missing 'state: directory' attribute 2024-12-22 10:26:31 +01:00
4ffd0d8ec7 [forgejo] Add missing dependency 'setup_nftables' 2024-12-22 10:17:14 +01:00
563ac1b664 Add tag for updating forgejo 2024-11-29 12:15:07 +01:00
80acd7da54 Replace ansible_facts vars by their ansible magic vars counterparts 2024-11-01 11:17:07 +01:00
6084b1abb8 Make forgejo-backup less verbose 2024-10-06 11:52:58 +02:00
0f6bc98576 [forgejo] Add cleanup step for when a backup fails 2024-07-31 10:52:14 +02:00
fc1bbe1c24 Rename forgejo backup log dir 2024-07-21 13:27:57 +02:00
b0b308a25d Add AcceptEnv sshd_config for forgejo 2024-07-21 00:04:19 +02:00
1087698be9 Rename forgejo_backup.sh => forgejo-backup.sh 2024-07-20 22:45:10 +02:00
dbb0563248 Redirect forgejo-backup logs in cron, move some files 2024-07-20 22:45:10 +02:00
b7fcd6e300 fixup! Move forgejo-backup logs out of log dir 2024-07-08 17:28:26 +02:00
7d71495034 Fix name of sql dump file in forgejo backup script 2024-07-08 15:47:18 +02:00
babf3aee25 Move forgejo-backup logs out of log dir
Otherwise the backup includes it's own logs while writing to them
2024-07-08 10:56:11 +02:00
ee361662d0 Make sure some dirs exist before doing forgejo backup 2024-07-08 10:40:11 +02:00
8ccf64fbff Allow incoming HTTPS for websites 2024-07-06 20:42:33 +02:00
949163ca59 Make forgejo conf file non group readable 2024-04-13 22:46:00 +02:00
dac63af2ec Add role "add_cert" to be used instead of add_cert_{dns_01,http_01} 2024-04-09 23:51:18 +02:00
b388fa002e Minor change 2024-04-09 20:21:59 +02:00
0b9a101c02 [forgejo] Enable mailer with dummy protocol while mailserver isn't ready 2024-04-07 20:39:32 +02:00
808a40ac68 Set more specific sudoers permissions for git user 2024-04-07 17:08:53 +02:00
e0cfde4c9f Permit to define forgejo_dump_path with ansible-playbook -e ... 2024-04-07 12:09:50 +02:00
49b7fea2ee Fix forgejo .asc file download as user git 2024-04-07 11:51:19 +02:00
c3ebf02781 Add missing apache2 modules for forgejo 2024-04-01 16:42:09 +02:00
f27a0901c5 Conditionnaly run DNS-01 or HTTP-01 for certificates 2024-03-08 09:59:23 +01:00
2b80d8b762 Add post-hook for letsencrypt certificate 2024-03-07 17:59:06 +01:00
0226b9a0a2 Clarify variables used in letsencrypt roles 2024-03-07 15:18:05 +01:00
393eafb5c0 Rename role setup_certbot => add_cert_http_01 2024-03-07 15:01:38 +01:00
8adc6a74c5 Rename role deploy_certificate => add_cert_dns_01 2024-03-07 15:01:38 +01:00
b453e559c9 Disable forgejo mailer functionality, as long as mailserver role isn't ready 2024-03-05 15:33:26 +01:00
d7deda69a2 Fix download asc file needs root 2024-03-05 14:27:40 +01:00
31b92d645f Remove local resolution entries 2023-12-04 12:35:14 +01:00
0ea59b67b0 Fix inclusion of vault variables that are now defaults 2023-12-04 12:08:29 +01:00
66dfee5df4 Change vars to defaults 2023-12-04 12:08:29 +01:00
f0bd51e720 Rename some variables 2023-10-01 17:30:38 +02:00
fe746e67f2 Update forgejo version downloading, as it can now be guessed from the codeberg tag 2023-10-01 17:16:27 +02:00
b07f891860 Bump forgejo to 1.19.1-0 2023-04-28 15:42:01 +02:00
593363373e Bump forgejo version to v1.19.0-2 2023-03-27 21:26:47 +02:00
3136bf34c2 Bump forgejo to 1.18.3-2 2023-02-18 11:22:22 +01:00
254b56259f Restart forgejo when we copied new binary 2023-01-26 08:28:01 +01:00
1e5020e70a Don't skip attachment data when backing up forgejo 2023-01-24 08:58:05 +01:00
3f639d7973 Bump forgejo version to 1.18.2-1 2023-01-23 11:51:42 +01:00
06a210cbd2 Use deploy_certificate role in forgejo 2023-01-20 23:22:16 +01:00
494f388130 Split up local dns resolutions into the roles that need them 2023-01-19 10:43:26 +01:00
f784701b74 Add local DNS resolutions for forgejo 2023-01-19 10:15:49 +01:00
b473c79476 Add ssh tasks for forgejo 2023-01-19 10:02:17 +01:00