File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ This is a copy from `defaults/main.yml`
60
60
``` yaml
61
61
---
62
62
# Runner user - user under which is the local runner service running
63
- runner_user : " {{ lookup('env','USER') }}"
63
+ runner_user : " {{ lookup('env', 'USER') }}"
64
64
65
65
# Directory where the local runner will be installed
66
66
runner_dir : /opt/actions-runner
@@ -72,22 +72,25 @@ runner_version: "latest"
72
72
runner_state : " started"
73
73
74
74
# If found on the server, delete already existing runner service and install it again
75
- reinstall_runner : no
75
+ reinstall_runner : false
76
76
77
77
# Do not show Ansible logs which may contain sensitive data (registration token)
78
- hide_sensitive_logs : yes
78
+ hide_sensitive_logs : true
79
79
80
80
# GitHub address
81
81
github_url : " https://github.com"
82
82
83
83
# GitHub API
84
84
github_api_url : " https://api.github.com"
85
85
86
+ # Number of runners to list per page
87
+ github_api_runners_per_page : 100
88
+
86
89
# Personal Access Token for your GitHub account
87
90
access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
88
91
89
92
# Is it the runner for organization or not?
90
- runner_org : no
93
+ runner_org : false
91
94
92
95
# Labels to apply to the runner
93
96
runner_labels : []
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ github_url: "https://github.com"
23
23
# GitHub API
24
24
github_api_url : " https://api.github.com"
25
25
26
+ # Number of runners to list per page
27
+ github_api_runners_per_page : 100
28
+
26
29
# Personal Access Token for your GitHub account
27
30
access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
28
31
Original file line number Diff line number Diff line change 36
36
Authorization : " token {{ access_token }}"
37
37
Accept : " application/vnd.github.v3+json"
38
38
method : GET
39
+ body_format : form-urlencoded
40
+ body :
41
+ per_page : " {{ github_api_runners_per_page }}"
39
42
status_code : 200
40
43
force_basic_auth : true
41
44
register : registered_runners
You can’t perform that action at this time.
0 commit comments