add act_runner

This commit is contained in:
hogweed1
2025-11-14 02:14:27 +10:00
parent e0fc23f57f
commit cfafcd5600

View File

@@ -0,0 +1,22 @@
---
- name: prom
hosts:
- all
vars:
act_runner_version: '0.2.13'
gather_facts: yes
become: yes
tasks:
- name: Unarchive a file that needs to be downloaded (added in 2.0)
ansible.builtin.get_url:
src: https://dl.gitea.com/act_runner/{{act_runner_version}}/act_runner-{{act_runner_version}}-linux-amd64
dest: /usr/share/act_runner/alertmanager-{{act_runner_version}}
remote_src: yes
- name: Create a symbolic link
ansible.builtin.file:
src: /usr/share/act_runner/alertmanager-{{act_runner_version}}
dest: /usr/local/bin/act_runner
state: link