Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support defining any partition parameters #130

Merged
merged 3 commits into from
Mar 23, 2022
Merged

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Mar 23, 2022

Adds a new partition_params option to partition definition which is just passed through to Slurm, allowing user to specify any partition configuration desired.

I had considered using arbitrary keys directly in the partition definition, but this is hard to achieve as the rebuild role modifies what is acceptable in the partition dict. So either the autoscale role would have to strip out the extras again, which means hostvars change during a play, or this role would have to be aware of what that autoscale role supports. Seems nicer to just provide a separate dict.

@sjpb sjpb requested a review from jovial March 23, 2022 12:03
Copy link
Contributor

@jovial jovial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb sjpb merged commit f51ef58 into master Mar 23, 2022
@sjpb sjpb deleted the feature/partition_params branch March 23, 2022 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants