feat: add gitea-actions role for Gitea act-runner
- Create gitea-runner user with podman access - Install podman-docker for docker CLI compatibility - Download and configure act_runner binary - Systemd service for act_runner daemon - Host-mode runner labels for Fedora 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
19
ansible/roles/gitea-actions/tasks/deps.yml
Normal file
19
ansible/roles/gitea-actions/tasks/deps.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: install podman-docker for docker CLI compatibility
|
||||
become: true
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- podman-docker
|
||||
- golang
|
||||
state: present
|
||||
tags: gitea-actions
|
||||
|
||||
- name: enable podman socket for gitea-runner
|
||||
become: true
|
||||
become_user: "{{ gitea_runner_user }}"
|
||||
ansible.builtin.systemd:
|
||||
name: podman.socket
|
||||
enabled: true
|
||||
state: started
|
||||
scope: user
|
||||
tags: gitea-actions
|
||||
Reference in New Issue
Block a user