3 Commits
0.1.0 ... 0.1.2

Author SHA1 Message Date
779e7b357a docs(meta): adapt galaxy_info
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 5s
Ansible Linter / ansible-lint (push) Successful in 53s
Release Ansible Role / Release Ansible Role (push) Successful in 57s
2026-01-08 19:58:57 +01:00
d24cc3a2a6 fix(tasks): update package cache
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 55s
2026-01-08 19:56:40 +01:00
38f9d9169d fix(template): change to nice YAML
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
Release Ansible Role / Release Ansible Role (push) Successful in 59s
2026-01-08 19:03:35 +01:00
5 changed files with 25 additions and 18 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
.ansible
.kiro
node_modules

View File

@@ -80,3 +80,8 @@ act_runner_gitea_url: ""
## @param act_runner_token The registration token for the act_runner
act_runner_token: ""
## @section Package Management
## @param act_runner_update_cache Whether to update package cache before installing packages
act_runner_update_cache: true

View File

@@ -2,11 +2,14 @@ dependencies: []
galaxy_info:
author: "Markus Pesch"
company: "Cryptic Systems"
description: "Role to create and managed an existing PKI infrastructure"
description: "Ansible role to install and configure gitea Act Runner for executing GitHub Actions-compatible workflows"
galaxy_tags:
- ca
- ssl
- tls
- gitea
- runner
- actions
- ci
- cd
- automation
license: "MIT"
min_ansible_version: "2.9"
namespace: volker-raschek
@@ -14,13 +17,4 @@ galaxy_info:
- name: ArchLinux
versions:
- all
- name: EL
versions:
- all
- name: Fedora
versions:
- all
- name: Ubuntu
versions:
- all
role_name: "act_runner"

View File

@@ -26,10 +26,17 @@
failed_when: _gitea_check.status is not defined or _gitea_check.status >= 400
- name: Install act_runner and dependencies
ansible.builtin.package:
name: "{{ item }}"
state: present
with_items: "{{ act_runner_package_names }}"
when:
- ansible_facts['distribution'] == 'Archlinux'
block:
- name: Update package cache
community.general.pacman:
update_cache: "{{ act_runner_update_cache }}"
- name: Install packages
ansible.builtin.package:
name: "{{ item }}"
state: present
with_items: "{{ act_runner_package_names }}"
- name: Create act_runner config directory
ansible.builtin.file:

View File

@@ -1,4 +1,4 @@
#
# {{ ansible_managed }}
#
{{ act_runner_config | to_yaml }}
{{ act_runner_config | to_nice_yaml }}