You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.0 KiB
YAML

---
- name: Add Git domain to Uberspace config
import_role:
name: snapstromegon.uberspace_web_domain
vars:
domain: git.codesignd.com
- name: Copy config to home directory
copy:
src: home/
dest: "{{ ansible_env.HOME }}/"
mode: preserve
tags: gitea-update
notify: Restart Gitea
- name: Copy service config
template:
src: service.ini.j2
dest: "{{ ansible_env.HOME }}/etc/services.d/gitea.ini"
notify: Reread service config
- name: Copy app config
template:
src: app.ini.j2
dest: "{{ ansible_env.HOME }}/gitea/custom/conf/app.ini"
tags: gitea-update
notify: Restart Gitea
- name: Configure web backend
import_role:
name: snapstromegon.uberspace_web_backend
vars:
route: git.codesignd.com
http:
port: 8080
- name: Set up Gitea Homebrew tap
homebrew_tap:
name: gitea/tap
url: https://gitea.com/gitea/homebrew-gitea.git
- name: Install and update Gitea
homebrew:
name: gitea
state: latest
notify: Restart Gitea
tags: gitea-update