I would try adding a var to the task.  Whatever number of seconds your task
is expected to take.

vars:
ansible_command_timeout: ####

On Thu, Mar 4, 2021 at 6:26 AM Stefan Hornburg (Racke) <[email protected]>
wrote:

> On 3/4/21 7:53 AM, [email protected] wrote:
> > Hi,
> >
> > I'm using the Check Point Ansible Mgmt Collection (
> https://galaxy.ansible.com/check_point/mgmt)
> >
> > Whilst running my playbook from the CLI, the run script task
> (check_point.mgmt.cp_mgmt_run_script) operation times out
> > after 300 seconds and Ansible reports the task as failed.
> >
> > The task continues to run in he background until completion.
> >
> > Do you know which 300 second default timeout setting is causing this and
> where it can be modified?
>
> Hello Simon,
>
> as far as I can tell there is no Ansible timeout for a task, so you need
> to look elsewhere for this timeout.
>
> Which exact task in that collection is affected by the timeout?
>
> Regards
>          Racke
>
> >
> > Regards,
> >
> > Simon
> >
> > --
> > 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] <mailto:
> [email protected]>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ansible-project/6f058e2c-6b81-4cb3-bdb8-751bdeead3d3n%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/6f058e2c-6b81-4cb3-bdb8-751bdeead3d3n%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> --
> 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/63715d27-5412-7f94-c100-aec421eb4db2%40linuxia.de
> .
>

-- 
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/CAANJ-QReiAvMbs0F%3DjOHiAmnFygc1SyzwNbJaWkxcNaYF_jACg%40mail.gmail.com.

Reply via email to