Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

[BUG] [Slurm role] munge key #76

Open
remyd1 opened this issue Aug 2, 2022 · 1 comment
Open

[BUG] [Slurm role] munge key #76

remyd1 opened this issue Aug 2, 2022 · 1 comment
Assignees

Comments

@remyd1
Copy link
Contributor

remyd1 commented Aug 2, 2022

Hi,

The slurm role needs to be launched twice to:

  1. Ansible role: install the munge package,
  2. Generate the key manually,
  3. Ansible role: configure slurm.

It would be more helpful if the ansible role generates the key itself through the command or shell module, allowing to launch the Slurm role only once.

Best regards

EDIT: to avoid an idempotent break on the controller, when should be used to check if the munge key already exists or not.

@oxedions
Copy link
Member

Dear @remyd1

Yes, you are right about this issue. Natively, munge keys were generated with a dd command, and so didn't need the munge package. I will investigate this, best solution would be to have munge key inside inventory.

@oxedions oxedions self-assigned this Sep 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants