2022-05-31 04:36:55 +00:00
|
|
|
---
|
2024-02-21 21:56:43 +00:00
|
|
|
- name: "Install gitea"
|
|
|
|
include_role:
|
|
|
|
name: l3d.gitea
|
|
|
|
vars:
|
|
|
|
gitea_fqdn: 'git.{{ domain }}'
|
|
|
|
gitea_home: '/var/lib/gitea'
|
|
|
|
gitea_db_type: 'sqlite3'
|
2024-07-11 02:23:22 +00:00
|
|
|
gitea_theme_default: 'gitea-dark'
|
2024-02-21 21:56:43 +00:00
|
|
|
gitea_root_url: 'https://git.{{ domain }}'
|
|
|
|
gitea_protocol: http
|
|
|
|
gitea_http_port: "{{ giteaPort }}"
|
|
|
|
gitea_ssh_port: 22
|
|
|
|
gitea_start_ssh: false
|
|
|
|
gitea_allow_only_internal_registration: true
|
|
|
|
gitea_disable_registration: true
|
|
|
|
gitea_require_signin: false
|
2024-05-17 05:19:05 +00:00
|
|
|
gitea_lfs_server_enabled: true
|
2023-01-22 00:25:02 +00:00
|
|
|
|
2024-11-23 02:10:41 +00:00
|
|
|
- name: "Start Gitea Act Runner"
|
|
|
|
include_tasks: runner.yml
|
|
|
|
when: giteaRunnerToken is defined
|
|
|
|
|
2023-02-03 21:40:59 +00:00
|
|
|
- name: Backup db
|
|
|
|
include_tasks: backup.yml
|
|
|
|
tags:
|
|
|
|
- never
|
|
|
|
- backup
|
2023-02-02 05:30:14 +00:00
|
|
|
|
2023-02-03 21:40:59 +00:00
|
|
|
- name: Restore db
|
|
|
|
include_tasks: restore.yml
|
|
|
|
tags:
|
|
|
|
- never
|
|
|
|
- restore
|