additional values and more exact terminology

This commit is contained in:
dvosler 2025-02-24 10:24:11 -05:00
parent b7be7ff22d
commit 4da2345261
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,9 @@
- name: Modify Slurm QoS (if already exists)
ansible.builtin.command: >
sacctmgr -i modify qos {{ item.name }} set
{% if item.MaxNodes is defined %}MaxNodes={{ item.MaxNodes }}{% endif %}
sacctmgr -i modify qos where name={{ item.name }} set
{% if item.MaxTRES is defined %}MaxTRES={{ item.MaxTRES }}{% endif %}
{% if item.MaxTRESPU is defined %}MaxTRESPU={{ item.MaxTRESPU }}{% endif %}
{% if item.MaxSubmitJobs is defined %}MaxSubmitJobs={{ item.MaxSubmitJobs }}{% endif %}
{% if item.MaxJobsPerUser is defined %}MaxJobsPerUser={{ item.MaxJobsPerUser }}{% endif %}
{% if item.GraceTime is defined %}GraceTime={{ item.GraceTime }}{% endif %}