Gitea runs the deploy pipeline, so it gets its own playbook that is run by hand and never from a workflow.
13 lines
378 B
YAML
13 lines
378 B
YAML
---
|
|
# Run by hand from the ansible LXC only. Gitea runs the deploy pipeline, so no
|
|
# workflow may call this playbook: a broken deploy would take down the pipeline itself.
|
|
- name: Deploy Gitea
|
|
hosts: docker_hosts
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Deploy gitea
|
|
ansible.builtin.include_role:
|
|
name: docker_stack
|
|
vars:
|
|
docker_stack_name: gitea
|