Skip to content

Commit 756951b

Browse files
Backward compatibility
1 parent bca2b09 commit 756951b

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

molecule/default/converge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
- github_repo: ansible-github_actions_runner-testrepo
1010
- github_account: monolithprojects-testorg
1111
- runner_version: "latest"
12+
- service_name: awesome
1213
- runner_labels:
1314
- label1
1415
- repo-runner
1516
roles:
1617
- robertdebock.epel
17-
- ansible-github_actions_runner
18+
- ansible-github_actions_runner

tasks/collect_info_org.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- install
3838
- uninstall
3939

40-
- name: Build service name
40+
- name: Build service name for github.com
4141
set_fact:
4242
runner_service: "actions.runner.{{ ([( github_owner | default(github_account))[:45], runner_name] | join('.'))[:57] }}.service"
4343
when: not runner_on_ghes
@@ -52,3 +52,13 @@
5252
tags:
5353
- install
5454
- 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

tasks/collect_info_repo.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,13 @@
5151
tags:
5252
- install
5353
- 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

0 commit comments

Comments
 (0)