File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
roles/process_reasons/tasks Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 30
30
roles :
31
31
- role : find_ip
32
32
- role : preflight_check_nodes
33
- - role : process_reasons
34
33
tasks :
35
34
- include_role :
36
35
name : hooks_call
37
36
vars :
38
37
kubeadm_hook_list : ['post_preflight_nodes']
39
38
39
+ - hosts : ' {{ kube_cp_group|default("kube_control_plane") }}:{{ kube_worker_group|default("kube_workers") }}'
40
+ any_errors_fatal : ' {{ any_errors_fatal|default(true) }}'
41
+ gather_facts : false
42
+ roles :
43
+ - role : process_reasons
44
+
40
45
- hosts : ' {{ kube_cp_group|default("kube_control_plane") }}'
41
46
any_errors_fatal : ' {{ any_errors_fatal|default(true) }}'
42
47
gather_facts : false
Original file line number Diff line number Diff line change 1
1
---
2
2
- debug :
3
3
var : _failure_reasons
4
+ changed_when : _failure_reasons|length > 0
4
5
5
6
- name : ' Fail if failure reasons found'
6
7
fail :
10
11
- name : ' Display config upgrade reasons'
11
12
debug :
12
13
var : _config_upgrade_reasons
14
+ changed_when : _config_upgrade_reasons|length > 0
13
15
14
16
- name : ' Display upgrade reasons'
15
17
debug :
16
18
var : _upgrade_reasons
19
+ changed_when : _upgrade_reasons|length > 0
17
20
18
21
- name : ' Pause to review diff and upgrade reasons'
19
22
pause :
You can’t perform that action at this time.
0 commit comments