Ansible ssh problem (with pfsense)

48 views
Skip to first unread message

Ala Karmous

unread,
Aug 28, 2023, 9:34:20 AM8/28/23
to Ansible Project
 ansible all -m ping
x.x.x.x | FAILED! => {
    "changed": false,
    "module_stderr": "Shared connection to x.x.x.x closed.\r\n",
    "module_stdout": "/bin/sh: /usr/bin/python3: not found\r\n",
    "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error",
    "rc": 127
}
and python3 is installed in the Ansible Master: 
root@admin:/etc/ansible# which python3
/usr/bin/python3



Brian Coca

unread,
Aug 28, 2023, 9:51:24 AM8/28/23
to ansible...@googlegroups.com
The problem is the python on the target, not the controller


--
----------
Brian Coca

Reply all
Reply to author
Forward
0 new messages