Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running the role #109

Open
femymellwin opened this issue Feb 9, 2025 · 1 comment
Open

Error while running the role #109

femymellwin opened this issue Feb 9, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@femymellwin
Copy link

[ansible@ip-172-31-35-123 CIS]$ ansible-playbook -i ../inv.yml audit-amazon2023-arm64.yml
ERROR! couldn't resolve module/action 'community.general.modprobe'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/home/ansible/ansible-repo/CIS/roles/AMAZON2023-CIS/tasks/section_1/cis_1.1.1.x.yml': line 21, column 9, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  - name: "1.1.1.1 | PATCH | Ensure mounting of squashfs filesystems is disabled | Disable squashfs"
    ^ here
@femymellwin femymellwin added the bug Something isn't working label Feb 9, 2025
@uk-bolly
Copy link
Member

hi @femymellwin

If i could ask is you could please answer the questions we ask you when raising a ticket it will really help us to help you.
ansible versions
python version
branch or commit
can you see the collections on your system?

thanks

uk-bolly

@uk-bolly uk-bolly self-assigned this Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants