Skip to content

Commit 260dc26

Browse files
Fix guthub url variable
1 parent cd5132f commit 260dc26

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

molecule/default/converge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- github_account: monolithprojects
1111
- runner_version: "latest"
1212
- reinstall_runner: yes
13+
- hide_sensitive_logs: no
1314
roles:
1415
- robertdebock.epel
1516
- ansible-github_actions_runner

tasks/install_runner.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
- install
8080

8181
- name: Register runner (if new installation) for repo
82-
command: "{{ runner_dir }}/./config.sh --url {{ github_server }}/{{ github_owner | default(github_account) }}/{{ github_repo }} \
82+
command: "{{ runner_dir }}/./config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }}/{{ github_repo }} \
8383
--token {{ registration.json.token }} --name {{ runner_name }} --unattended"
8484
args:
8585
chdir: "{{ runner_dir }}"
@@ -91,7 +91,7 @@
9191
- install
9292

9393
- name: Register runner (if new installation) for organization
94-
command: "{{ runner_dir }}/./config.sh --url {{ github_server }}/{{ github_owner | default(github_account) }} \
94+
command: "{{ runner_dir }}/./config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
9595
--token {{ registration.json.token }} --name {{ runner_name }} --unattended"
9696
args:
9797
chdir: "{{ runner_dir }}"
@@ -103,7 +103,7 @@
103103
- install
104104

105105
- name: Replace registered runner for repo
106-
command: "{{ runner_dir }}/config.sh --url {{ github_server }}/{{ github_owner | default(github_account) }}/{{ github_repo }} \
106+
command: "{{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }}/{{ github_repo }} \
107107
--token {{ registration.json.token }} --name {{ runner_name }} --unattended --replace"
108108
args:
109109
chdir: "{{ runner_dir }}"
@@ -115,7 +115,7 @@
115115
- install
116116

117117
- name: Replace registered runner for organization
118-
command: "{{ runner_dir }}/config.sh --url {{ github_server }}/{{ github_owner | default(github_account) }} \
118+
command: "{{ runner_dir }}/config.sh --url {{ github_url }}/{{ github_owner | default(github_account) }} \
119119
--token {{ registration.json.token }} --name {{ runner_name }} --unattended --replace"
120120
args:
121121
chdir: "{{ runner_dir }}"

0 commit comments

Comments
 (0)