File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6666 - openhpc_slurm_service_started | bool
6767 - openhpc_enable.batch | default(false) | bool
6868 # 2nd condition required as notification happens on controller, which isn't necessarily a compute note
69+
70+ - name : Reload facts
71+ ansible.builtin.setup :
72+ filter : ansible_local
Original file line number Diff line number Diff line change 22 # this includes any dynamically-generated config, not just what is set in
33 # slurm.conf
44 ansible.builtin.command : scontrol show config
5+ changed_when : false
56 register : _scontrol_config
67
78- name : Create facts directory
2021 group : slurm
2122 mode : ug=rw,o=r # any user can run scontrol show config anyway
2223 register : _template_facts
23-
24- - name : Reload facts if necessary
25- ansible.builtin.setup :
26- filter : ansible_local
27- when : _template_facts.changed
24+ notify : Reload facts
You can’t perform that action at this time.
0 commit comments