OSC / ood-ansible

An ansible role for Open Ondemand
MIT License
30 stars 31 forks source link

ood-ansible error: /tasks/deps.yml': line 57, column 3 #147

Open dweise1776 opened 2 years ago

dweise1776 commented 2 years ago

Hello Everyone, I was trying to run the ood-ansible role and got this error: (the target computer is on RHEL8.5 Server, fresh build)

[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details ERROR! couldn't resolve module/action 'community.general.gem'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/info/sysadmin/ansible/roles/ood-ansible/tasks/deps.yml': line 57, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

-------Line 57/section:

Any Idea how to get past this? It looks like the yml file it spaced correctly. Thank you. --David Weise

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 2 years ago

Hi, I moved this over here. You need this community role for the gem module. I'm not quite sure how to express dependencies in galaxy, but clearly we need to.

https://github.com/OSC/ood-ansible/blob/33feee0e93ee019a486512256bece11960aedfc0/.github/workflows/tests.yml#L41