@@ -11,6 +11,7 @@ This role will deploy local GitHub Actions Runner.
1111The role is in early development stage.
1212Role is able to:
1313- install and cofigure local runner
14+ - request reistration token
1415- register the runner to GitHub
1516
1617Currently is missing:
@@ -25,7 +26,7 @@ System must have access to the packages repository (Internet, Red Hat Satellite,
2526
2627CentOS/Fedora systems require EPEL repository.
2728
28- ` GITHUB_ACCESS_TOKEN ` variable needs to be exported to your environment.
29+ ` PERSONAL_ACCESS_TOKEN ` variable needs to be exported to your environment.
2930
3031Role Variables
3132--------------
@@ -39,17 +40,17 @@ runner_dir: "/opt/actions-runner"
3940# Version of the GitHub Actions Runner
4041runner_version : " 2.165.2"
4142
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 ') }}"
4445
4546# GitHub address
4647github_server : " https://github.com"
4748
4849# GitHub account name
49- # github_account: "yourgithubname "
50+ # github_account: "youruser "
5051
5152# Github repository name
52- # github_repo: "yourreponame "
53+ # github_repo: "yourrepo "
5354```
5455
5556Example Playbook
@@ -65,9 +66,9 @@ Simple example.
6566 vars :
6667 - runner_user : runner
6768 - github_account : example
68- - github_repo : example"
69+ - github_repo : example
6970 roles :
70- - role : ansible- github_actions_runner
71+ - role : monolithprojects/ github_actions_runner
7172` ` `
7273
7374License
0 commit comments