Files
ansible/roles/act_runner/vars/main.yml
VC 4ef3cd267e
All checks were successful
ansible-lint / lint-everything (push) Successful in 4s
🎨: improve registering for other servers
2025-03-07 16:13:10 +01:00

12 lines
613 B
YAML

---
act_runner_version: "0.2.11"
act_runner_url: "https://gitea.com/gitea/act_runner/releases/download/v{{ act_runner_version }}/act_runner-{{ act_runner_version }}-linux-amd64"
act_runner_home: "/var/lib/act_runner"
act_runner_bin: "/usr/local/bin/act_runner"
act_runner_user: "act_runner"
# Only one gitea ref URL name is possible
act_runner_gitea_ref_url: "{{ hostvars[groups['giteaservers'][0]].web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'gitea') | map(attribute='host') | first }}"
act_runner_gitea_token: "{{ hostvars[groups['giteaservers'][0]]._gitea_runner_token.stdout }}"