Compare commits

...

2 commits

4 changed files with 33 additions and 2 deletions

View file

@ -1,6 +1,6 @@
---
- name: Setup Forgejo actions
hosts:
- byggmester
- forgejo
roles:
- byggmester
- forgejo

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View file

@ -0,0 +1,20 @@
{{template "base/head" .}}
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="gt-pt-4">
<div class="center">
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/i-am-developer.gif">
<div class="hero">
<h1 class="ui icon header title">
{{AppDisplayName}}
</h1>
<h2>Welcome to the home of trashy source code and wonky projects</h2>
<h2>If you have ended up here in the search of answers, you should take a moment and wonder where it all went wrong</h2>
<h2>If you still think answers lie beyond here, go ahead, see how wrong you are</h2>
</div>
</div>
</div>
{{template "base/footer" .}}

View file

@ -96,6 +96,17 @@
enabled: true
become: true
- name: Sync custom forgejo styling
ansible.posix.synchronize:
src: custom
dest: /usr/local/bin/forgejo/
rsync_opts:
- --chown=forgejo:forgejo
- --chmod=755
recursive: true
notify: Restart forgejo
become: true
- name: Make forgejo config dir non writeable
ansible.builtin.file:
path: /etc/forgejo