MaxTRES added

This commit is contained in:
dvosler 2025-04-07 06:33:23 -04:00
parent ad0ffa4a4e
commit 84cc831ce8
1 changed files with 1 additions and 0 deletions

View File

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