File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 5
5
become : yes
6
6
vars :
7
7
- runner_user : ansible
8
- - github_repo : ansible-github_actions_runner-testrepo
9
8
- github_account : monolithprojects-testorg
10
9
- runner_state : absent
11
10
- runner_org : yes
Original file line number Diff line number Diff line change 5
5
become : yes
6
6
vars :
7
7
- runner_user : ansible
8
- - github_repo : ansible-github_actions_runner-testrepo
9
8
- github_account : monolithprojects-testorg
10
9
- runner_org : yes
11
10
- runner_state : " stopped"
20
19
become : yes
21
20
vars :
22
21
- runner_user : ansible
23
- - github_repo : ansible-github_actions_runner-testrepo
24
22
- github_account : monolithprojects-testorg
25
23
- runner_org : yes
26
- # - reinstall_runner: yes
24
+ - reinstall_runner : yes
27
25
- runner_version : " latest"
28
26
roles :
29
27
- robertdebock.epel
Original file line number Diff line number Diff line change 61
61
run_once : yes
62
62
become : false
63
63
delegate_to : localhost
64
- when : runner_version not in runner_installed.stdout
64
+ when : runner_version not in runner_installed.stdout or reinstall_runner
65
65
tags :
66
66
- install
67
67
71
71
dest : " {{ runner_dir }}/"
72
72
owner : " {{ runner_user }}"
73
73
mode : 0755
74
- when : runner_version not in runner_installed.stdout
74
+ when : runner_version not in runner_installed.stdout or reinstall_runner
75
75
notify :
76
76
- Restart runner service
77
77
tags :
109
109
become : yes
110
110
become_user : " {{ runner_user }}"
111
111
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
113
113
tags :
114
114
- install
115
115
121
121
become : yes
122
122
become_user : " {{ runner_user }}"
123
123
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
125
125
tags :
126
126
- install
127
127
You can’t perform that action at this time.
0 commit comments