From 84cc831ce877c8f0c75bdda6804c46c8d8685331 Mon Sep 17 00:00:00 2001 From: dvosler Date: Mon, 7 Apr 2025 06:33:23 -0400 Subject: [PATCH] MaxTRES added --- slurm_qos/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/slurm_qos/tasks/main.yml b/slurm_qos/tasks/main.yml index 4ea8a28..2bc10df 100644 --- a/slurm_qos/tasks/main.yml +++ b/slurm_qos/tasks/main.yml @@ -45,6 +45,7 @@ ansible.builtin.command: > sacctmgr -i modify qos where name={{ item.name }} set {% if item.max_tres_per_user is defined and item.max_tres_per_user is not none %}MaxTRESPU={{ item.max_tres_per_user }}{% endif %} + {% if item.max_tres is defined and item.max_tres is not none %}MaxTRESPU={{ item.max_tres }}{% endif %} {% if item.max_submit_jobs is defined and item.max_submit_jobs is not none %}MaxSubmitJobs={{ item.max_submit_jobs }}{% endif %} {% if item.max_jobs_per_user is defined and item.max_jobs_per_user is not none %}MaxJobsPerUser={{ item.max_jobs_per_user }}{% endif %} {% if item.grace_time is defined and item.grace_time is not none %}GraceTime={{ item.grace_time }}{% endif %}