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:
name: install all the gems we need
^ here
-------Line 57/section:
name: install all the gems we need
community.general.gem:
name: "{{ item.name }}"
version: "{{ item.version }}"
state: present
user_install: no
loop:
{ name: 'bundler', version: '2.1.4' }
{ name: 'rake', version: '13.0.3' }
{ name: 'bcrypt', version: '3.1.17' }
Any Idea how to get past this? It looks like the yml file it spaced correctly. Thank you.
--David Weise
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.
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