diff --git a/files/var/lib/gitea/custom/templates/user/auth/signup.tmpl b/files/var/lib/gitea/custom/templates/user/auth/signup.tmpl new file mode 100644 index 0000000..9c18c08 --- /dev/null +++ b/files/var/lib/gitea/custom/templates/user/auth/signup.tmpl @@ -0,0 +1,3 @@ +
+ + diff --git a/tasks/gitea/configure.yml b/tasks/gitea/configure.yml index 1c3ffa8..137883e 100644 --- a/tasks/gitea/configure.yml +++ b/tasks/gitea/configure.yml @@ -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