Skip to content

Can't remove parameters from slurm.conf template #180

Open
@sjpb

Description

@sjpb

E.g. because the default template has

PreemptType=preempt/partition_prio
PreemptMode=SUSPEND,GANG

you can't set turn this off using

openhpc_config:
  PreemptMode: 'OFF'

because that's a slurm error to have mode=off with type defined.

The community.general.ini_file module we use for the modifications actually can remove things with state: absent; I could have sworn it was possible to do something like setting the value to -absent- to trigger that, but it is not there!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions