We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f81b89 commit 9859d54Copy full SHA for 9859d54
ansible/roles/compute_init/files/compute-init.yml
@@ -153,4 +153,7 @@
153
- name: Ensure node is resumed
154
# TODO: consider if this is always safe for all job states?
155
command: scontrol update state=resume nodename={{ ansible_hostname }}
156
- # TODO: make safe for repeated runs
+ register: _scontrol_update
157
+ failed_when:
158
+ - _scontrol_update.rc > 0
159
+ - "'slurm_update error: Invalid node state specified' not in _scontrol_update.stderr"
0 commit comments