fix: Missing packages

This commit is contained in:
Eric Gullickson
2026-03-22 12:33:35 -05:00
parent bd2bd26ecf
commit cd7f8f56d8
4 changed files with 27 additions and 6 deletions

View File

@@ -136,10 +136,20 @@
# ============================================
# act_runner Installation
# ============================================
- name: Check current act_runner version
command: act_runner --version
register: current_runner_version
changed_when: false
failed_when: false
- name: Download act_runner binary
get_url:
url: "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
dest: /usr/local/bin/act_runner
shell: curl -fsSL -o /usr/local/bin/act_runner "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
when: current_runner_version.rc != 0 or act_runner_version not in (current_runner_version.stdout | default(''))
notify: Restart act_runner
- name: Set act_runner binary permissions
file:
path: /usr/local/bin/act_runner
mode: '0755'
- name: Verify act_runner installation