File tree 3 files changed +22
-22
lines changed
roles/openshift_node/tasks
3 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 4
4
connection : local
5
5
gather_facts : no
6
6
tasks :
7
- - import_role :
8
- name : openshift_node
9
- tasks_from : scaleup_checks.yml
7
+ - import_role :
8
+ name : openshift_node
9
+ tasks_from : scaleup_checks.yml
10
10
11
11
- name : Pre-scaleup checks
12
12
hosts : new_workers
13
13
tasks :
14
- - import_role :
15
- name : openshift_node
16
- tasks_from : version_checks.yml
14
+ - import_role :
15
+ name : openshift_node
16
+ tasks_from : version_checks.yml
17
17
18
18
- name : install nodes
19
19
hosts : new_workers
20
20
roles :
21
- - openshift_node
21
+ - openshift_node
Original file line number Diff line number Diff line change 4
4
connection : local
5
5
gather_facts : no
6
6
tasks :
7
- - name : Ensure [workers] group is populated
8
- fail :
9
- msg : >
10
- Detected no workers in inventory. Please add hosts to the
11
- workers host group to upgrade nodes
12
- when : groups.workers | default([]) | length == 0
7
+ - name : Ensure [workers] group is populated
8
+ fail :
9
+ msg : >
10
+ Detected no workers in inventory. Please add hosts to the
11
+ workers host group to upgrade nodes
12
+ when : groups.workers | default([]) | length == 0
13
13
14
14
- name : Pre-upgrade checks
15
15
hosts : workers
16
16
tasks :
17
- - import_role :
18
- name : openshift_node
19
- tasks_from : version_checks.yml
17
+ - import_role :
18
+ name : openshift_node
19
+ tasks_from : version_checks.yml
20
20
21
21
- name : upgrade nodes
22
22
hosts : workers
23
23
serial : 1
24
24
tasks :
25
- - import_role :
26
- name : openshift_node
27
- tasks_from : upgrade.yml
25
+ - import_role :
26
+ name : openshift_node
27
+ tasks_from : upgrade.yml
Original file line number Diff line number Diff line change 20
20
fail :
21
21
msg : " As of v4.10, RHEL nodes must be at least version 8.4"
22
22
when :
23
- - l_cluster_version is version('4.10', '>=')
24
- - ansible_facts['distribution'] == "RedHat"
25
- - ansible_facts['distribution_version'] is version('8.4', '<')
23
+ - l_cluster_version is version('4.10', '>=')
24
+ - ansible_facts['distribution'] == "RedHat"
25
+ - ansible_facts['distribution_version'] is version('8.4', '<')
You can’t perform that action at this time.
0 commit comments