optimize gitea tasks and variables

This commit is contained in:
Marcel Arndt 2026-01-07 15:09:10 +01:00
parent 0496728700
commit 497562f8a0
3 changed files with 7 additions and 6 deletions

View File

@ -1,12 +1,8 @@
postgres_version: 16-alpine
gitea_version: "1.21"
gitea_domain: "{{ subdomain }}.{{ main_domain }}"
gitea_http_port: 3000
gitea_ssh_port: 2222
data_dir: "{{ ceph_volume }}/gitea"
subdomain: git
gitea_db_type: "postgres"
gitea_db_host: db:5432
gitea_db_name: "gitea"

View File

@ -5,7 +5,8 @@
owner: 1000
group: 1000
mode: '0750'
recurse: yes
recurse: no
run_once: true
delegate_to: "{{ groups['managers'][0] }}"
- name: GITEA | Ensure DB data directories
@ -17,7 +18,8 @@
owner: 70
group: 70
mode: '0700'
recurse: yes
recurse: no
run_once: true
delegate_to: "{{ groups['managers'][0] }}"
- name: GITEA | Generate Compose file

View File

@ -0,0 +1,3 @@
data_dir: "{{ ceph_volume }}/gitea"
subdomain: git
gitea_domain: "{{ subdomain }}.{{ main_domain }}"