Ansible Playbook Error: Missing 'system' Role and Invalid Block Attribute #50
Replies: 1 comment
-
|
Hi, Sorry to respond a little late. Im going to remove the ansible config all together because there is already the manual installation which is not to long and pretty easy to follow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm encountering issues while trying to run your Ansible, and I'm hoping to get some guidance. I apologize for the inconvenience I've never worked with Ansible before, so I appreciate any help you can provide.
ansible-galaxy collection install -r requirements.ymlThis step completed without any issues.
2. I then executed the playbook using:
ansible-playbook -i inventory arch.ymlThe Errors I Encountered
Error 1: Missing Role
The playbook complains that it can’t find the system role:
ERROR! the role 'system' was not found in /home/user/.config/ansible/roles:/home/user/.config/ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/user/.config/ansibleThe error points to line 4 of arch.yml:
Error 2: Invalid Block Attribute
After attempting to fix the role issue (such as copying directories or tweaking arch.yml), I encountered another error:
The offending block in the tasks file starts with:
What I've Tried
Neither approach has resolved the issues.
Any help or guidance would be greatly appreciated. Thanks you!
Beta Was this translation helpful? Give feedback.
All reactions