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 %}