You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tasks/runtime.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,10 @@
105
105
owner: root
106
106
group: root
107
107
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless | bool
108
+
notify:
109
+
- Restart slurmctld service
110
+
register: ohpc_cgroup_conf
111
+
# NB uses restart rather than reload as this is needed in some cases
108
112
109
113
- name: Remove local tempfile for slurm.conf templating
110
114
ansible.builtin.file:
@@ -139,7 +143,7 @@
139
143
changed_when: true
140
144
when:
141
145
- openhpc_slurm_control_host in ansible_play_hosts
142
-
- hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed or hostvars[openhpc_slurm_control_host].ohpc_gres_conf.changed # noqa no-handler
146
+
- hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed or hostvars[openhpc_slurm_control_host].ohpc_cgroup_conf.changed or hostvars[openhpc_slurm_control_host].ohpc_gres_conf.changed # noqa no-handler
0 commit comments