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 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/CAFYJA%2BK4EhBCnqrykwrhcPKEawSq%2BGQmeNcMyOb-iXJPaVrTFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.