Open tom91136 opened 3 weeks ago
For backwards compatibility, we can check if openhpc_config
is a string or list and append the content (one line per list item or the entire string as-is) at the end of the slurm.conf template for maximum flexibility.
Happy to open a PR if welcomed.
We're using this playbook to setup a Warewulf managed system so the compute nodes will not be available (images are not created yet so can't boot). The current play tolerates empty host groups but we can't inject computes nodes with known configurations because
openhpc_config
expects a dictionary:Looking at the slurm.conf syntax, I think using a list will be more appropriate here.