File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 9
9
- github_repo : ansible-github_actions_runner-testrepo
10
10
- github_account : monolithprojects-testorg
11
11
- runner_version : " latest"
12
+ - service_name : awesome
12
13
- runner_labels :
13
14
- label1
14
15
- repo-runner
15
16
roles :
16
17
- robertdebock.epel
17
- - ansible-github_actions_runner
18
+ - ansible-github_actions_runner
Original file line number Diff line number Diff line change 37
37
- install
38
38
- uninstall
39
39
40
- - name : Build service name
40
+ - name : Build service name for github.com
41
41
set_fact :
42
42
runner_service : " actions.runner.{{ ([( github_owner | default(github_account))[:45], runner_name] | join('.'))[:57] }}.service"
43
43
when : not runner_on_ghes
52
52
tags :
53
53
- install
54
54
- uninstall
55
+
56
+ - name : Build service name for GitHub Enterprise Server (Left for backward compatibility. This task will be removed in v1.15)
57
+ set_fact :
58
+ runner_service : " {{ service_name }}"
59
+ when : service_name is defined
60
+ tags :
61
+ - install
62
+ - uninstall
63
+
64
+ check_mode : false
Original file line number Diff line number Diff line change 51
51
tags :
52
52
- install
53
53
- uninstall
54
+
55
+ - name : Build service name for GitHub Enterprise Server (Left for backward compatibility. This task will be removed in v1.15)
56
+ set_fact :
57
+ runner_service : " {{ service_name }}"
58
+ when : service_name is defined
59
+ tags :
60
+ - install
61
+ - uninstall
62
+
63
+ check_mode : false
You can’t perform that action at this time.
0 commit comments