# Ansible ssh problem (with pfsense)

**URL:** <https://forum.ansible.com/t/ansible-ssh-problem-with-pfsense/38372>\
**Category:** Ansible Project\
**Created:** [August 25, 2023, 9:51am UTC](https://forum.ansible.com/t/ansible-ssh-problem-with-pfsense/38372 "2023-08-25T09:51:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ala\_Karmous](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@Ala\_Karmous](https://forum.ansible.com/u/Ala_Karmous)\
**Post date:** [August 25, 2023, 9:51am UTC](https://forum.ansible.com/t/ansible-ssh-problem-with-pfsense/38372/1 "2023-08-25T09:51:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 28, 2023, 1:50pm UTC](https://forum.ansible.com/t/ansible-ssh-problem-with-pfsense/38372/2 "2023-08-28T13:50:57Z")

</div>

The problem is the python on the target, not the controller
