move gitea to role, fix deploy script
Some checks failed
Deploy Containers / Prepare (push) Failing after 12s

This commit is contained in:
2025-07-29 21:16:54 -04:00
parent 62ef1172eb
commit c8cceee3a9
6 changed files with 241 additions and 205 deletions

View File

@@ -1,22 +0,0 @@
---
- name: Create folder structure
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ data_dir }}/gitea"
- name: Create Gitea Runner Docker Container
docker_container:
name: gitea_runner
image: docker.io/gitea/act_runner:nightly
restart_policy: unless-stopped
recreate: true
network_mode: host
volumes:
- "{{ data_dir }}/gitea:/data"
env:
GITEA_INSTANCE_URL: "{{ GITEA_INSTANCE_URL }}"
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_REGISTRATION_TOKEN }}"
GITEA_RUNNER_NAME: "{{ GITEA_RUNNER_NAME }}"
GITEA_RUNNER_LABELS: "{{ GITEA_RUNNER_LABELS }}"