Add signup redirect link

This commit is contained in:
Louis Abel 2023-01-03 18:49:30 -07:00
parent d8db92eec5
commit 404ec9839e
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<head>
<meta http-equiv='refresh' content='0; URL=https://accounts.rockylinux.org/'>
</head>

View File

@ -28,6 +28,14 @@
when:
- not gitea_configured_file.stat.exists|bool
- name: Drop template direct for sign up link
ansible.builtin.copy:
src: "var/lib/gitea/custom/templates/user/auth/signup.tmpl"
dest: "/var/lib/gitea/custom/templates/user/auth/signup.tmpl"
mode: '0644'
owner: git
group: git
- name: Drop file to prevent further configuration
ansible.builtin.file:
name: /etc/gitea.configured