--- # ============================================================================= # 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