You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ansible-galaxy list
/home/ubuntu/.ansible/roles
ernestas-poskus.ansible-prometheus, v4.18.0
I run the command as follows:
ansible-playbook -i hosts -l group1 playbook.yml --check
I got errors as follows:
ERROR! the role 'ansible-prometheus' was not found in /home/ubuntu/works/roles:/home/ubuntu/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/ubuntu/works
The error appears to be in '/home/ubuntu/works/playbook.yml': line 5, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- role: ansible-prometheus
^ here
I installed the collations with the command,
ansible-galaxy install ernestas-poskus.ansible-prometheus
ansible-galaxy list
/home/ubuntu/.ansible/roles
ernestas-poskus.ansible-prometheus, v4.18.0
I run the command as follows:
ansible-playbook -i hosts -l group1 playbook.yml --check
I got errors as follows:
As follows is the playbook:
The text was updated successfully, but these errors were encountered: