You've already forked ansible-role-act-runner
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
779e7b357a
|
|||
|
d24cc3a2a6
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
.ansible
|
.ansible
|
||||||
|
.kiro
|
||||||
node_modules
|
node_modules
|
||||||
@@ -80,3 +80,8 @@ act_runner_gitea_url: ""
|
|||||||
|
|
||||||
## @param act_runner_token The registration token for the act_runner
|
## @param act_runner_token The registration token for the act_runner
|
||||||
act_runner_token: ""
|
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:
|
galaxy_info:
|
||||||
author: "Markus Pesch"
|
author: "Markus Pesch"
|
||||||
company: "Cryptic Systems"
|
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:
|
galaxy_tags:
|
||||||
- ca
|
- gitea
|
||||||
- ssl
|
- runner
|
||||||
- tls
|
- actions
|
||||||
|
- ci
|
||||||
|
- cd
|
||||||
|
- automation
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
namespace: volker-raschek
|
namespace: volker-raschek
|
||||||
@@ -14,13 +17,4 @@ galaxy_info:
|
|||||||
- name: ArchLinux
|
- name: ArchLinux
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
- name: EL
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
- name: Fedora
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
- name: Ubuntu
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
role_name: "act_runner"
|
role_name: "act_runner"
|
||||||
|
|||||||
@@ -26,10 +26,17 @@
|
|||||||
failed_when: _gitea_check.status is not defined or _gitea_check.status >= 400
|
failed_when: _gitea_check.status is not defined or _gitea_check.status >= 400
|
||||||
|
|
||||||
- name: Install act_runner and dependencies
|
- name: Install act_runner and dependencies
|
||||||
ansible.builtin.package:
|
when:
|
||||||
name: "{{ item }}"
|
- ansible_facts['distribution'] == 'Archlinux'
|
||||||
state: present
|
block:
|
||||||
with_items: "{{ act_runner_package_names }}"
|
- 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
|
- name: Create act_runner config directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|||||||
Reference in New Issue
Block a user