Python interpreter error

139 views
Skip to first unread message

unai abrisketa sanchez

unread,
Aug 16, 2021, 5:19:00 AM8/16/21
to Ansible Project

Hi team!

I am using ansible to run playbooks in a Fortigate firewall and I am getting a recursive error shows below:

[WARNING]: Unhandled error in Python interpreter discovery for host
FW_SALINILLAS: unexpected output from Python interpreter discovery
[WARNING]: sftp transfer mechanism failed on [10.60.3.126]. Use ANSIBLE_DEBUG=1
to see detailed information
[WARNING]: scp transfer mechanism failed on [10.60.3.126]. Use ANSIBLE_DEBUG=1
to see detailed information
[WARNING]: Platform unknown on host FW_SALINILLAS is using the discovered
Python interpreter at /usr/bin/python, but future installation of another
Python interpreter could change this. See https://docs.ansible.com/ansible/2.9/
reference_appendices/interpreter_discovery.html for more information.
fatal: [FW_SALINILLAS]: FAILED! => {"ansible_facts": {"discovered_interpreter_py                                                                             thon": "/usr/bin/python"}, "changed": false, "module_stderr": "Shared connection                                                                              to 10.60.3.126 closed.\r\n", "module_stdout": "FW-SALINILLAS-1 # Unknown action                                                                              0\r\n\r\nFW-SALINILLAS-1 # ", "msg": "MODULE FAILURE\nSee stdout/stderr for the                                                                              exact error", "rc": 0}




Does anybody know why I am getting this error?

Thanks in advance
Reply all
Reply to author
Forward
0 new messages