41 lines
1009 B
YAML
41 lines
1009 B
YAML
---
|
|
galaxy_info:
|
|
app_role_name: gitea
|
|
author: Patrick Jaroszewski
|
|
description: Ansible role to configure and deploy Gitea in Docker, with optional support for runners.
|
|
license: MIT License
|
|
min_ansible_version: 2.11
|
|
platforms:
|
|
- name: Debian
|
|
versions: all
|
|
- name: Ubuntu
|
|
version: all
|
|
galaxy_tags:
|
|
- gitea
|
|
- act_runner
|
|
- git
|
|
- gitserver
|
|
- selfhosted
|
|
|
|
dependencies:
|
|
- role: patrickj.docker_apps.docker_compose_app
|
|
vars:
|
|
app_role_name: gitea
|
|
app_compose_validate: false
|
|
app_compose_start: false
|
|
app_uid: "{{ gitea_uid }}"
|
|
app_gid: "{{ gitea_gid }}"
|
|
app_extra_templates:
|
|
- src: env.j2
|
|
dest: "{{ app_dir }}/.env"
|
|
# Directory structure
|
|
app_subdirectories:
|
|
- "{{ gitea_data_path }}"
|
|
- "{{ gitea_config_path }}"
|
|
- "{{ gitea_log_path }}"
|
|
|
|
# Backup configuration
|
|
app_backup_subdirectories:
|
|
- "{{ gitea_data_path }}"
|
|
- "{{ gitea_config_path }}"
|