Skip to content

Commit 61c25d7

Browse files
Fix missing svc.sh
1 parent ab2b222 commit 61c25d7

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

molecule/organization/cleanup.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
become: yes
66
vars:
77
- runner_user: ansible
8-
- github_repo: ansible-github_actions_runner-testrepo
98
- github_account: monolithprojects-testorg
109
- runner_state: absent
1110
- runner_org: yes

molecule/organization/converge.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
become: yes
66
vars:
77
- runner_user: ansible
8-
- github_repo: ansible-github_actions_runner-testrepo
98
- github_account: monolithprojects-testorg
109
- runner_org: yes
1110
- runner_state: "stopped"
@@ -20,10 +19,9 @@
2019
become: yes
2120
vars:
2221
- runner_user: ansible
23-
- github_repo: ansible-github_actions_runner-testrepo
2422
- github_account: monolithprojects-testorg
2523
- runner_org: yes
26-
# - reinstall_runner: yes
24+
- reinstall_runner: yes
2725
- runner_version: "latest"
2826
roles:
2927
- robertdebock.epel

tasks/install_runner.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
run_once: yes
6262
become: false
6363
delegate_to: localhost
64-
when: runner_version not in runner_installed.stdout
64+
when: runner_version not in runner_installed.stdout or reinstall_runner
6565
tags:
6666
- install
6767

@@ -71,7 +71,7 @@
7171
dest: "{{ runner_dir }}/"
7272
owner: "{{ runner_user }}"
7373
mode: 0755
74-
when: runner_version not in runner_installed.stdout
74+
when: runner_version not in runner_installed.stdout or reinstall_runner
7575
notify:
7676
- Restart runner service
7777
tags:
@@ -109,7 +109,7 @@
109109
become: yes
110110
become_user: "{{ runner_user }}"
111111
no_log: "{{ hide_sensitive_logs | bool }}"
112-
when: reinstall_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and not runner_org
112+
when: ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and not runner_org
113113
tags:
114114
- install
115115

@@ -121,7 +121,7 @@
121121
become: yes
122122
become_user: "{{ runner_user }}"
123123
no_log: "{{ hide_sensitive_logs | bool }}"
124-
when: reinstall_runner and ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and runner_org
124+
when: ansible_hostname in registered_runners.json.runners|map(attribute='name')|list and runner_org
125125
tags:
126126
- install
127127

0 commit comments

Comments
 (0)