Skip to content

Commit ac525ea

Browse files
Merge pull request #151 from oci-hpc/2.10.4_an_ol8_slurm_fix
Fixed error handling
2 parents 4baea28 + 1ca1546 commit ac525ea

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

playbooks/roles/destroy_unreachable/tasks/slurm-rack-aware.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
- name: change Node Status
250250
become: true
251251
command: "scontrol update nodename={{ item }} state=future reason=terminating"
252-
ignore_errors: force
252+
ignore_errors: true
253253
ignore_unreachable: True
254254
with_items: "{{unreachable_slurm_nodes}}"
255255
delegate_to: 127.0.0.1

playbooks/roles/destroy_unreachable/tasks/slurm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
- name: change Node Status
140140
become: true
141141
command: "scontrol update nodename={{ item }} state=future reason=terminating"
142-
ignore_errors: force
142+
ignore_errors: true
143143
ignore_unreachable: True
144144
with_items: "{{unreachable_slurm_nodes}}"
145145
delegate_to: 127.0.0.1

playbooks/roles/slurm/tasks/destroy-rack-aware.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- name: change Node Status
33
become: true
44
command: "scontrol update nodename={{ ansible_hostname }} state=future reason=terminating"
5-
ignore_errors: force
5+
ignore_errors: true
66
ignore_unreachable: True
77
delegate_to: 127.0.0.1
88

playbooks/roles/slurm/tasks/destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
- name: change Node Status
113113
become: true
114114
command: "scontrol update nodename={{ ansible_hostname }} state=future reason=terminating"
115-
ignore_errors: force
115+
ignore_errors: true
116116
ignore_unreachable: True
117117
delegate_to: 127.0.0.1
118118

0 commit comments

Comments
 (0)