Files
nult/roles/gitea/tasks/main.yml
Mark a9554f3e5d Initial commit: nult - Ansible deployment toolkit
Merged from veridion-gitea and veridion-act-runner-gitea repos.

nult (Null-T) - instant teleportation from Strugatsky's Noon Universe.
Like Null-T, this toolkit instantly deploys infrastructure.

Roles:
- gitea: Gitea server with PostgreSQL (Docker Compose)
- act_runner: Gitea Actions runner

Playbooks:
- gitea.yml: Deploy Gitea server
- act-runner.yml: Deploy Act Runner
- site.yml: Deploy all services

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 15:34:07 +01:00

40 lines
1.1 KiB
YAML

---
# =============================================================================
# Gitea Role - Main Task Orchestration
# =============================================================================
#
# This file controls the execution order of all tasks.
# Tasks are designed to be idempotent and safe to run multiple times.
#
# IMPORTANT: Database migrations are handled AUTOMATICALLY by Gitea on startup.
# The backup task MUST run before any changes to allow rollback.
#
# Reference: https://docs.gitea.com/installation/upgrade-from-gitea
# =============================================================================
- name: Include preflight checks
ansible.builtin.include_tasks: preflight.yml
tags:
- preflight
- always
- name: Include backup tasks
ansible.builtin.include_tasks: backup.yml
tags:
- backup
- name: Include configuration tasks
ansible.builtin.include_tasks: config.yml
tags:
- config
- name: Include upgrade tasks
ansible.builtin.include_tasks: upgrade.yml
tags:
- upgrade
- name: Include deployment tasks
ansible.builtin.include_tasks: deploy.yml
tags:
- deploy