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 66
66
- openhpc_slurm_service_started | bool
67
67
- openhpc_enable.batch | default(false) | bool
68
68
# 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 2
2
# this includes any dynamically-generated config, not just what is set in
3
3
# slurm.conf
4
4
ansible.builtin.command : scontrol show config
5
+ changed_when : false
5
6
register : _scontrol_config
6
7
7
8
- name : Create facts directory
20
21
group : slurm
21
22
mode : ug=rw,o=r # any user can run scontrol show config anyway
22
23
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