From b1f13547f4d05f3238cedf966f559ea5103cd3c2 Mon Sep 17 00:00:00 2001 From: Bruno Travouillon Date: Sat, 21 Oct 2023 21:17:35 -0400 Subject: [PATCH] Add support for job_container.conf --- README.md | 7 ++++--- tasks/_inc_extra_configs.yml | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8545d4f..ed928ad 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/tasks/_inc_extra_configs.yml b/tasks/_inc_extra_configs.yml index 9a3dded..e436c70 100644 --- a/tasks/_inc_extra_configs.yml +++ b/tasks/_inc_extra_configs.yml @@ -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