Hi Kethan,

I am having same issue, Is this resolved?

On Thursday, June 13, 2019 at 9:23:12 PM UTC+5:30, Kethan R wrote:
>
> no Luck.
>
> [WARNING]: sftp transfer mechanism failed on [xxxxx]. Use ANSIBLE_DEBUG=1
> 19
> to see detailed information
> 20
> 21
> [WARNING]: No python interpreters found for host xxxxxx(tried
> 22
> ['/usr/bin/python', 'python3.7', 'python3.6', 'python3.5', 'python2.7',
> 23
> 'python2.6', '/usr/libexec/platform-python', '/usr/bin/python3', 'python'])
> 24
> 25
> fatal: [xxxxx]: FAILED! => {"ansible_facts": 
> {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, 
> "module_stderr": "Shared connection to xxxxx closed.\r\n", "module_stdout": 
> "/bin/sh: /usr/bin/python: No such file or directory\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}
>
>
> On Thursday, June 13, 2019 at 10:48:13 AM UTC-5, Jonathan Lozada De La 
> Matta wrote:
>>
>> try adding gather_facts: False like
>>
>> -- host: all
>>     gather_facts: False
>>
>> then try again.
>>
>> On Thu, Jun 13, 2019 at 11:36 AM Kethan R <[email protected]> wrote:
>>
>>> This is the error:
>>> fatal: [xxxxxx]: FAILED! => {"ansible_facts": {}, "changed": false, 
>>> "msg": "The following modules failed to execute: setup\n setup: The module 
>>> failed to execute correctly, you probably need to set the interpreter.\nSee 
>>> stdout/stderr for the exact error\n"}
>>> This is the playbook
>>> - hosts: all
>>>   tasks:
>>>     - name: Run script
>>>       checkpoint_run_script:
>>>          script_name: "List root"
>>>          script: ls -l /
>>>          targets:
>>>            - mycheckpointgw
>>>
>>> If any modification to this play book or if you have different module 
>>> both ok for me
>>>
>>> On Thursday, June 13, 2019 at 10:30:51 AM UTC-5, Kethan R wrote:
>>>>
>>>> 2.8.1, i am running scripts using AWX. 
>>>>
>>>> On Thursday, June 13, 2019 at 10:27:05 AM UTC-5, Jonathan Lozada De La 
>>>> Matta wrote:
>>>>>
>>>>> what ansible version are you using?
>>>>>
>>>>> On Thu, Jun 13, 2019 at 11:21 AM Kethan R <[email protected]> wrote:
>>>>>
>>>>>> Need some sample ansible playbooks to pull info from checkpoint 
>>>>>> firewall servers...
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Ansible Project" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/ansible-project/d618a815-fecc-4b98-90e9-9d61021cd3df%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/ansible-project/d618a815-fecc-4b98-90e9-9d61021cd3df%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>>
>>>>> Jonathan Cha'gara Lozada De La Matta 
>>>>>
>>>>> He / Him / His
>>>>>
>>>>> Automation Practice
>>>>>
>>>>> Senior Automation Consultant & Automation CoP Manager 
>>>>>
>>>>> Red Hat <https://www.redhat.com> 
>>>>> @redhatjobs <https://twitter.com/redhatjobs>   redhatjobs 
>>>>> <https://www.facebook.com/redhatjobs> @redhatjobs 
>>>>> <https://instagram.com/redhatjobs>   
>>>>> <https://www.redhat.com> 
>>>>>
>>>>>  
>>>>>
>>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ansible-project/44c4be95-0f1c-46ab-9084-7b0597f57aae%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/44c4be95-0f1c-46ab-9084-7b0597f57aae%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>>
>> Jonathan Cha'gara Lozada De La Matta 
>>
>> He / Him / His
>>
>> Automation Practice
>>
>> Senior Automation Consultant & Automation CoP Manager 
>>
>> Red Hat <https://www.redhat.com> 
>> @redhatjobs <https://twitter.com/redhatjobs>   redhatjobs 
>> <https://www.facebook.com/redhatjobs> @redhatjobs 
>> <https://instagram.com/redhatjobs>   
>> <https://www.redhat.com> 
>>
>>  
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3061eee4-bf9b-4c66-b6b1-f7f197f04e33o%40googlegroups.com.

Reply via email to