Hi,
I was wondering whether there might be built in support for managing slurm accounts,users,associations in ansible. it would be nice to be able to organize accounts in a yaml style file and modify accounts settings via gitlab CI/CD. For example, in a format as such:
accounts: - name: "Boss1" parent: "root" description: "Big Boos" fairshare: 20 - name: "UnderBoss1" parent: "root" description: "working for Boss1" fairshare: 1 users: -username: "user1" -username: "user2"
*Fritz Ratnasamy*
Data Scientist Information Technology
I am not sure about built in support like that. I manage one AMD MI300A cluster which is deployed using Blue Banquise. This has an Ansible playbook for setting up Slurm partitions. I do not think there is anything for configurations such as you describe.
https://github.com/bluebanquise/tutorials?tab=readme-ov-file#8-slurm
On Wed, 28 May 2025 at 05:28, Ratnasamy, Fritz via slurm-users < slurm-users@lists.schedmd.com> wrote:
Hi,
I was wondering whether there might be built in support for managing slurm accounts,users,associations in ansible. it would be nice to be able to organize accounts in a yaml style file and modify accounts settings via gitlab CI/CD. For example, in a format as such:
accounts:
- name: "Boss1" parent: "root" description: "Big Boos" fairshare: 20
- name: "UnderBoss1" parent: "root" description: "working for Boss1" fairshare: 1 users: -username: "user1" -username: "user2"
*Fritz Ratnasamy*
Data Scientist Information Technology
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com
Hi Fritz,
Regarding Slurm account management, we have managed our accounts for many years now based on a simple configuration file (not in YAML, unfortunately), and some scripts that use sacctmgr to update the Slurm database.
The project "Slurm account and user updating tools" is available at https://github.com/OleHolmNielsen/Slurm_tools/tree/master/slurmaccounts
On 5/28/25 06:24, Ratnasamy, Fritz via slurm-users wrote:
I was wondering whether there might be built in support for managing slurm accounts,users,associations in ansible. it would be nice to be able to organize accounts in a yaml style file and modify accounts settings via gitlab CI/CD. For example, in a format as such:
accounts: - name: "Boss1" parent: "root" description: "Big Boos" fairshare: 20 - name: "UnderBoss1" parent: "root" description: "working for Boss1" fairshare: 1 users: -username: "user1" -username: "user2"
Best regards, Ole