Skip to content

Commit

Permalink
Add support for job_container.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
btravouillon committed Apr 9, 2024
1 parent 92b5b5b commit b1f1354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ Partitions and nodes go in `slurm_partitions` and `slurm_nodes`, lists of hashes
of that partition or node.

Options for the additional configuration files [acct_gather.conf](https://slurm.schedmd.com/acct_gather.conf.html),
[cgroup.conf](https://slurm.schedmd.com/cgroup.conf.html) and [gres.conf](https://slurm.schedmd.com/gres.conf.html)
may be specified in the `slurm_acct_gather_config`, `slurm_cgroup_config` (both of them hashes) and
`slurm_gres_config` (list of hashes) respectively.
[cgroup.conf](https://slurm.schedmd.com/cgroup.conf.html), [gres.conf](https://slurm.schedmd.com/gres.conf.html)
and [job_container.conf](https://slurm.schedmd.com/job_container.conf.html) may be specified in the
`slurm_acct_gather_config`, `slurm_cgroup_config` (both of them hashes), `slurm_gres_config` (list of hashes) and
`slurm_job_container_config` (hashes) respectively.

Set `slurm_upgrade` to true to upgrade the installed Slurm packages.

Expand Down
3 changes: 3 additions & 0 deletions tasks/_inc_extra_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
- name: gres.conf
config: slurm_gres_config
template: gres.conf.j2
- name: job_container.conf
config: slurm_job_container_config
template: generic.conf.j2
loop_control:
label: "{{ item.name }}"
when: item.config in vars
Expand Down

0 comments on commit b1f1354

Please sign in to comment.