Unable to run ansible task

158 views
Skip to first unread message

vinay kumar

unread,
Apr 30, 2024, 9:05:07 AM4/30/24
to rundeck-discuss
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details ERROR! couldn't resolve module/action 'win_ping'.
This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/app/devops/APP_Automation/APP_ansible_scripts/sit-monitor.yml': line 7, column 6, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:  tasks:   - name: ping    ^ here

Getting above error when i run "ansible-playbook /app/devops/APP_Automation/APP_ansible_scripts/sit-monitor.yml"  from rundeck ui

but when i run manually on server. It is running fine and working fine. I have already install ansible collection also. Ansible did not updated that

I am facing this error after os-upgrade in linux. I have installed ansible-core  in rhel.

Anything i need to update in rundeck or anything i need change, Could anyone please help me on this

rac...@rundeck.com

unread,
Apr 30, 2024, 9:37:21 AM4/30/24
to rundeck-discuss

Hi Vinay, did you test that (the ansible-playbook direct command) from the rundeck user? Also, if you want to run a playbook from Rundeck, use the ansible playbook Rundeck step, take a look at this.

Greetings.

Reply all
Reply to author
Forward
0 new messages