I saw a few instances where the templated config end up looking like:
# many more normal lines
SlurmctldHost=mgmt.staging.local#SlurmctldHost=
# many more normal lines
SlurmctldParameters=enable_configlessReturnToService=2
This may have occurred for other templates as well, but I'll have to check.
The documentation seems to suggest that this trimming of the template is the default but behaviour can be changed: https://github.com/ansible/ansible/issues/22531
I saw a few instances where the templated config end up looking like:
Which corresponds to trimmed blocks:
https://github.com/stackhpc/ansible-role-openhpc/blob/a59913004982bd6e6e09c519d66b6503018e6553/templates/slurm.conf.j2#L186
This may have occurred for other templates as well, but I'll have to check. The documentation seems to suggest that this trimming of the template is the default but behaviour can be changed: https://github.com/ansible/ansible/issues/22531