<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ansible Checkpoint Modules in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112746#M438</link>
    <description>&lt;P&gt;It looks like we modified the timeout values in version 2.0.0 of the collection.&lt;BR /&gt;&lt;A href="https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection/releases" target="_blank"&gt;https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection/releases&lt;/A&gt;&lt;BR /&gt;If you are using just one target, could you please test-out without setting the task into async mode? Also, please update to the latest collection (--force on ansible-galaxy when pulling the collection). Let us know how that goes.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2021 17:13:43 GMT</pubDate>
    <dc:creator>Art_Zalenekas</dc:creator>
    <dc:date>2021-03-08T17:13:43Z</dc:date>
    <item>
      <title>Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112326#M432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm running a bash script to copy cpviewdb.dat files from remote gateways to central file storage.&lt;/P&gt;&lt;P&gt;I will use Ansible to automate this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know which 300 second default timeout setting is causing this and where it can be modified?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 02:12:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112326#M432</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-03T02:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112500#M434</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/41271"&gt;@Or_Soffer&lt;/a&gt;&amp;nbsp;any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 02:57:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112500#M434</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-03-05T02:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112597#M435</link>
      <description>&lt;P&gt;What version of the module are you using? Ansible native Check Point module or collection? In our Ansible collection, the default value is 30 in minutes, so it sounds like you are not using the collection.&lt;BR /&gt;&lt;A href="https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_run_script_module.html" target="_blank"&gt;https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_run_script_module.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let us know which Ansible version you are running and paste the Ansible task here that does the execution of&amp;nbsp;&lt;EM&gt;run-script&lt;/EM&gt; (sanitized).&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 02:19:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112597#M435</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-06T02:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112667#M436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/44647"&gt;@Art_Zalenekas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using version 1.0.6 of the collection&lt;/P&gt;&lt;P&gt;(&lt;A href="https://galaxy.ansible.com/check_point/mgmt" target="_blank" rel="noopener"&gt;https://galaxy.ansible.com/check_point/mgmt&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I'm running&amp;nbsp;ansible version 2.9.10.&lt;/P&gt;&lt;P&gt;ansible 2.9.10&lt;BR /&gt;config file = /etc/ansible/ansible.cfg&lt;BR /&gt;configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']&lt;BR /&gt;ansible python module location = /usr/lib/python2.7/site-packages/ansible&lt;BR /&gt;executable location = /usr/bin/ansible&lt;BR /&gt;python version = 2.7.5 (default, Sep 26 2019, 13:23:47) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]&lt;/P&gt;&lt;P&gt;Playbook and debug output of ansible-playbook below.&lt;/P&gt;&lt;P&gt;- hosts: all&lt;BR /&gt;&amp;nbsp; connection: httpapi&lt;BR /&gt;&amp;nbsp; tasks:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; - name: "copy cpviewdb"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; check_point.mgmt.cp_mgmt_run_script:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; script_name: "cpviewdb export"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; script: /usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; targets:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - "fw-1"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;async: 1000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;poll: 10&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;task path: /var/lib/awx/projects/checkpoint/cpviewdb_run.yml:7&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /root/.ansible/tmp/ansible-local-105715JthvxB `"&amp;amp;&amp;amp; mkdir /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556 &amp;amp;&amp;amp; echo ansible-tmp-1614902298.09-105833-95466278797556="` echo /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556 `" ) &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;Using module file /root/.ansible/collections/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_run_script.py&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; PUT /root/.ansible/tmp/ansible-local-105715JthvxB/tmpnNzePL TO /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/ /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;fatal: [10.1.2.51]: FAILED! =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "changed": false,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "invocation": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "module_args": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "args": null,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "comments": null,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "script": "/usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh",&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "script_name": "cpviewdb export",&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "targets": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "fw-1"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "version": null,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "wait_for_task": true&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "msg": "Task fw-cil-cluster.mgsops.fw - cpviewdb export with task id c2e0722e-a694-47a3-bdb0-6bc842bbd43b failed. Look at the logs for more details"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;PLAY RECAP *****************************************************************************************************************************************************************************************************************************&lt;BR /&gt;10.1.2.51&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ok=1&amp;nbsp; &amp;nbsp; changed=0&amp;nbsp; &amp;nbsp; unreachable=0&amp;nbsp; &amp;nbsp; failed=1&amp;nbsp; &amp;nbsp; skipped=0&amp;nbsp; &amp;nbsp; rescued=0&amp;nbsp; &amp;nbsp; ignored=0&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was the wait_for_task_timeout default of 30 minutes introduced in &lt;SPAN&gt;version 2.0.0 or an earlier version?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 03:22:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112667#M436</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-08T03:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112676#M437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using v1.0.6 of the collection. Was the default timeout value for wait_for_task_timeout available and set to 30 minutes in this version or was it introduced in v2.0.0?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running Ansible&amp;nbsp; 2.9.10&lt;/P&gt;&lt;DIV&gt;Playbook and debug output of ansible-playbook below.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- hosts: all&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp; connection: httpapi&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; tasks:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; - name: "copy cpviewdb"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; check_point.mgmt.cp_mgmt_run_script:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; script_name: "cpviewdb export"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; script: /usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; targets:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - "fw-1"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;async: 1000&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;poll: 10&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-------------------------------------------------------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;task path: /var/lib/awx/projects/checkpoint/cpviewdb_run.yml:7&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /root/.ansible/tmp/ansible-local-105715JthvxB `"&amp;amp;&amp;amp; mkdir /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556 &amp;amp;&amp;amp; echo ansible-tmp-1614902298.09-105833-95466278797556="` echo /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556 `" ) &amp;amp;&amp;amp; sleep 0'&lt;/DIV&gt;&lt;DIV&gt;Using module file /root/.ansible/collections/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_run_script.py&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; PUT /root/.ansible/tmp/ansible-local-105715JthvxB/tmpnNzePL TO /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/ /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-105715JthvxB/ansible-tmp-1614902298.09-105833-95466278797556/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;/DIV&gt;&lt;DIV&gt;fatal: [10.1.2.51]: FAILED! =&amp;gt; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "changed": false,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "invocation": {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "module_args": {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "args": null,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "comments": null,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "script": "/usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh",&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "script_name": "cpviewdb export",&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "targets": [&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "fw-1"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "version": null,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "wait_for_task": true&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; },&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "msg": "Task fw-cil-cluster.mgsops.fw - cpviewdb export with task id c2e0722e-a694-47a3-bdb0-6bc842bbd43b failed. Look at the logs for more details"&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PLAY RECAP *****************************************************************************************************************************************************************************************************************************&lt;/DIV&gt;&lt;DIV&gt;10.1.2.51&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : ok=1&amp;nbsp; &amp;nbsp; changed=0&amp;nbsp; &amp;nbsp; unreachable=0&amp;nbsp; &amp;nbsp; failed=1&amp;nbsp; &amp;nbsp; skipped=0&amp;nbsp; &amp;nbsp; rescued=0&amp;nbsp; &amp;nbsp; ignored=0&amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Mar 2021 07:43:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112676#M437</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-08T07:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112746#M438</link>
      <description>&lt;P&gt;It looks like we modified the timeout values in version 2.0.0 of the collection.&lt;BR /&gt;&lt;A href="https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection/releases" target="_blank"&gt;https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection/releases&lt;/A&gt;&lt;BR /&gt;If you are using just one target, could you please test-out without setting the task into async mode? Also, please update to the latest collection (--force on ansible-galaxy when pulling the collection). Let us know how that goes.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 17:13:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112746#M438</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-08T17:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112782#M439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've updated to v 2.0.0 of the collection using the --force switch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ansible is still reporting the task as failed with and without async mode added. It still continues to completion in the background as before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can now see "wait_for_task_timeout": 30 in the output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;fatal: [10.1.2.51]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"args": null,&lt;BR /&gt;"comments": null,&lt;BR /&gt;"script": "/usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh",&lt;BR /&gt;"script_name": "cpviewdb export",&lt;BR /&gt;"targets": [&lt;BR /&gt;"fw-1"&lt;BR /&gt;],&lt;BR /&gt;"version": null,&lt;BR /&gt;"wait_for_task": true,&lt;BR /&gt;"wait_for_task_timeout": 30&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"msg": "Task fw-1 - cpviewdb export with task id 79bfec7f-090d-447e-9fc5-1ec59a7bd175 failed. Look at the logs for more details"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************&lt;BR /&gt;10.1.2.51 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original version of the bash script makes 2 SSH connections to remote servers sequentially. I've modified the script by&amp;nbsp; splitting it out in to 2 separate scripts so each script makes 1 SSH connection. The ansible task runs successfully when referencing the modified script as the duration is approximately half the time, it does not hit the limit that is resulting in the connection timeout.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 01:39:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112782#M439</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-09T01:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112790#M440</link>
      <description>&lt;P&gt;Please run the Ansible plabook with&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;-vvv&lt;/STRONG&gt;&lt;/EM&gt; args. Those are verbosity level flags.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 05:28:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112790#M440</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-09T05:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112791#M441</link>
      <description>&lt;P&gt;The following is the output with -vvvv&lt;/P&gt;&lt;P&gt;TASK [copy cpviewdb] *******************************************************************************************************************************************************************************************************************************************&lt;BR /&gt;task path: /var/lib/awx/projects/checkpoint/cpviewdb_run.yml:5&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; attempting to start connection&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; using connection plugin httpapi&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; found existing local domain socket, using it!&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; updating play_context for connection&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt;&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; local domain socket path is /root/.ansible/pc/910d3d0ce6&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /root/.ansible/tmp/ansible-local-69114wgQDKP `"&amp;amp;&amp;amp; mkdir /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237 &amp;amp;&amp;amp; echo ansible-tmp-1615253882.22-69226-97328796880237="` echo /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237 `" ) &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;Using module file /root/.ansible/collections/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_run_script.py&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; PUT /root/.ansible/tmp/ansible-local-69114wgQDKP/tmpmubyAi TO /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237/AnsiballZ_cp_mgmt_run_script.py&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237/ /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237/AnsiballZ_cp_mgmt_run_script.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;10.1.2.51&amp;gt; EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-69114wgQDKP/ansible-tmp-1615253882.22-69226-97328796880237/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;fatal: [10.1.2.51]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"args": null,&lt;BR /&gt;"comments": null,&lt;BR /&gt;"script": "/usr/tmp/scripts/cpviewdb/cpviewdb_exp_v2.sh",&lt;BR /&gt;"script_name": "cpviewdb export",&lt;BR /&gt;"targets": [&lt;BR /&gt;"fw-1"&lt;BR /&gt;],&lt;BR /&gt;"version": null,&lt;BR /&gt;"wait_for_task": true,&lt;BR /&gt;"wait_for_task_timeout": 30&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"msg": "Task fw-1 - cpviewdb export with task id fa379556-3fdd-4424-865e-b748cb6c6c05 failed. Look at the logs for more details"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;PLAY RECAP *****************************************************************************************************************************************************************************************************************************************************&lt;BR /&gt;10.1.2.51 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:14:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112791#M441</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-09T06:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112792#M442</link>
      <description>&lt;P&gt;So I just executed that on my side and it works. From CHKP Mgmt perspective it works. I think the question that becomes is, does you bash scripts works.&lt;BR /&gt;First, try to just execute&amp;nbsp;&lt;STRONG&gt;ls -al /&lt;/STRONG&gt; in the playbook under&amp;nbsp;&lt;STRONG&gt;script&lt;/STRONG&gt;. If you get a finished task, then it's something within the bash script or you don't have execute bit set on the bash script, or your API user does not have the permissions to execute the bash script. Start simple and work from there up. The API call and the Ansible module works on my side using latest collection.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 06:20:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112792#M442</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-09T06:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112798#M443</link>
      <description>&lt;P&gt;Can you try to replicate this by running a script for which the duration of which will be 300 seconds or more? e.g. a large file copy or download.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script runs. I can run the combined script (with 2 SSH connections and copy on each) manually on a gateway. I can also run each split script manually on a gateway and via Ansible. API permissions are OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:21:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112798#M443</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-09T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112916#M445</link>
      <description>&lt;P&gt;So I was able to reproduce that issue as well and so far I can tell it's not the Ansible module, but either the&amp;nbsp;&lt;STRONG&gt;run-script&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;show-task&lt;/STRONG&gt; API call that somehow forces the 300 seconds timeout.&amp;nbsp; I am looking into this, but I would suggest you open a TAC case as well.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 23:54:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112916#M445</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-09T23:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112920#M446</link>
      <description>&lt;P&gt;Great thanks for the update and your assistance on this issue to date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've opened a TAC case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could the following discussion be related?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-timeout/td-p/52741" target="_blank" rel="noopener"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/Web-API-timeout/td-p/52741&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 08:36:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/112920#M446</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-10T08:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/114532#M489</link>
      <description>&lt;P&gt;Simon,&lt;BR /&gt;at first, it looks like it is, but this issue is a bit deeper than I have thought. If you run any run-script calls, for now, I would suggest splitting them into very concrete steps to minimize the runtime to less than 5 minutes. Please DM me with the SR number you have the case open and I will also keep track of it. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 01:52:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/114532#M489</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-03-25T01:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115067#M501</link>
      <description>&lt;P&gt;Hi, that is what I've done in the interim - modify the playbooks so they are running less tasks. This has been fine for now but will create more work going forward. The SR is&amp;nbsp;&lt;SPAN&gt;6-0002571220.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 23:18:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115067#M501</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-03-31T23:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115635#M507</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;This is related to&amp;nbsp;sk160753. It's a&amp;nbsp;known limitation that has existed since R80.10.&lt;BR /&gt;&lt;BR /&gt;PRHF-14607 :&lt;BR /&gt;&lt;BR /&gt;"Running a one time script on a Security Gateway (that reads files or outputs of commands) using a "One Time Script" feature in SmartConsole or with API may fail after 5 minutes with the "Operation timed out" error.&lt;BR /&gt;The limit for reading files is 9,730 lines or 730 KB (whichever is reached first)."&lt;/P&gt;&lt;P&gt;TAC has asked us to open an RFE to address this limitation.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 01:50:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115635#M507</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-04-09T01:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115714#M509</link>
      <description>&lt;P&gt;OK, thank you for the update!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 18:20:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/115714#M509</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-04-09T18:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Modules</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/120194#M552</link>
      <description>&lt;P&gt;I see you use cp_mgmt_run_script. But I would expect running the command directly with the build-in Shell would propably do the job just fine. Have you tried that approach?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 12:37:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Modules/m-p/120194#M552</guid>
      <dc:creator>Hugo_vd_Kooij</dc:creator>
      <dc:date>2021-06-02T12:37:29Z</dc:date>
    </item>
  </channel>
</rss>

