Skip to content

Commit f0fcbe6

Browse files
committed
restart on cgroup.conf changes
1 parent 4926ebb commit f0fcbe6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tasks/runtime.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@
127127
changed_when: true
128128
when:
129129
- openhpc_slurm_control_host in ansible_play_hosts
130-
- hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed or hostvars[openhpc_slurm_control_host].ohpc_gres_conf.changed # noqa no-handler
130+
- [
131+
hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed,
132+
hostvars[openhpc_slurm_control_host].ohpc_gres_conf.changed,
133+
hostvars[openhpc_slurm_control_host].ohpc_cgroup_conf.changed,
134+
] is any # noqa no-handler
131135
notify:
132136
- Restart slurmd service
133137

0 commit comments

Comments
 (0)