You've already forked ansible-role-act-runner
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
779e7b357a
|
|||
|
d24cc3a2a6
|
|||
|
38f9d9169d
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
.ansible
|
||||
.kiro
|
||||
node_modules
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#
|
||||
# {{ ansible_managed }}
|
||||
#
|
||||
{{ act_runner_config | to_yaml }}
|
||||
{{ act_runner_config | to_nice_yaml }}
|
||||
Reference in New Issue
Block a user