Skip to content

Commit 693659f

Browse files
fix variable check
1 parent e8bbc12 commit 693659f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/collect_info.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
- name: Set complete API url for repo runner
66
ansible.builtin.set_fact:
77
github_full_api_url: "{{ github_api_url }}/repos/{{ github_owner | default(github_account) }}/{{ github_repo }}/actions/runners"
8-
when: not runner_org and not runner_enterprise
8+
when: not runner_org and not github_enterprise
99

1010
- name: Set complete API url for org runner
1111
ansible.builtin.set_fact:
1212
github_full_api_url: "{{ github_api_url }}/orgs/{{ github_owner | default(github_account) }}/actions/runners"
13-
when: runner_org | bool and not runner_enterprise
13+
when: runner_org | bool and not github_enterprise
1414

1515
- name: Set complete API url for enterprise runner
1616
ansible.builtin.set_fact:
1717
github_full_api_url: "{{ github_api_url }}/enterprises/{{ github_enterprise }}/actions/runners"
18-
when: runner_enterprise
18+
when: github_enterprise
1919

2020
- name: Get registration token (RUN ONCE)
2121
ansible.builtin.uri:

0 commit comments

Comments
 (0)