galaxyproject / ansible-slurm

Ansible role for installing and managing the Slurm Workload Manager
88 stars 47 forks source link

SlurmDBD config does not work #6

Open natefoo opened 4 years ago

natefoo commented 4 years ago

The config template, generic.conf.j2 expects to be run in a loop over a list of dicts, but the task that templates it does not do so.

torfinnnome commented 4 years ago

Oh, after submitting this pull request, I noticed that this is already fixed in #1. However, we also need #5.

bdeetz commented 3 years ago

Also experiencing this issue on v0.1.3

TASK [galaxyproject.slurm : Install slurmdbd.conf] **************************************************************************************************************************************
fatal: [REDACTED]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'item' is undefined"}
ianhinder commented 3 years ago

I just ran into this issue when I installed the role for the first time and tried out the example playbook. Is there a plan for getting it fixed? I’m a bit confused from the discussion above whether it is thought to be fixed, or is still acknowledged as a problem in the default install.

michaelniemand commented 3 years ago

I just ran into this issue when I installed the role for the first time and tried out the example playbook. Is there a plan for getting it fixed? I’m a bit confused from the discussion above whether it is thought to be fixed, or is still acknowledged as a problem in the default install.

When you use the master branch instead of the tag, the error is fixed. You can also check out the merged link above the see the exact fixes

natefoo commented 3 years ago

The fix should be included in the tagged version 1.0.0 as well, which is upload to Ansible Galaxy.