@@ -11,6 +11,7 @@ This role will deploy local GitHub Actions Runner.
11
11
The role is in early development stage.
12
12
Role is able to:
13
13
- install and cofigure local runner
14
+ - request reistration token
14
15
- register the runner to GitHub
15
16
16
17
Currently is missing:
@@ -25,7 +26,7 @@ System must have access to the packages repository (Internet, Red Hat Satellite,
25
26
26
27
CentOS/Fedora systems require EPEL repository.
27
28
28
- ` GITHUB_ACCESS_TOKEN ` variable needs to be exported to your environment.
29
+ ` PERSONAL_ACCESS_TOKEN ` variable needs to be exported to your environment.
29
30
30
31
Role Variables
31
32
--------------
@@ -39,17 +40,17 @@ runner_dir: "/opt/actions-runner"
39
40
# Version of the GitHub Actions Runner
40
41
runner_version : " 2.165.2"
41
42
42
- # GitHub Access token for the repository
43
- access_token : " {{ lookup('env', 'GITHUB_ACCESS_TOKEN ') }}"
43
+ # Personal Access Token for your GitHub account
44
+ access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN ') }}"
44
45
45
46
# GitHub address
46
47
github_server : " https://github.com"
47
48
48
49
# GitHub account name
49
- # github_account: "yourgithubname "
50
+ # github_account: "youruser "
50
51
51
52
# Github repository name
52
- # github_repo: "yourreponame "
53
+ # github_repo: "yourrepo "
53
54
```
54
55
55
56
Example Playbook
@@ -65,9 +66,9 @@ Simple example.
65
66
vars :
66
67
- runner_user : runner
67
68
- github_account : example
68
- - github_repo : example"
69
+ - github_repo : example
69
70
roles :
70
- - role : ansible- github_actions_runner
71
+ - role : monolithprojects/ github_actions_runner
71
72
` ` `
72
73
73
74
License
0 commit comments