<?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 Playbook with checkpoint, facing errors in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84946#M316</link>
    <description>&lt;P&gt;Did you forget to publish?&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2020 14:54:12 GMT</pubDate>
    <dc:creator>_Val_</dc:creator>
    <dc:date>2020-05-12T14:54:12Z</dc:date>
    <item>
      <title>Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84821#M308</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to implement automation in our environment, so i have implementing scripts.&lt;/P&gt;&lt;P&gt;I am new to Ansible Playbook,&amp;nbsp;&lt;BR /&gt;below is the my simple Ansible script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- hosts:&amp;nbsp; 172.31.37.222&lt;BR /&gt;vars_files:&lt;BR /&gt;&amp;nbsp;- vars.yml&lt;BR /&gt;connection: httpapi&lt;/P&gt;&lt;P&gt;tasks:&lt;/P&gt;&lt;P&gt;- name: Create host object&lt;BR /&gt;&amp;nbsp; &amp;nbsp;cp_mgmt_host:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name: prod_host&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ip_address: 192.168.1.1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: blue&lt;/P&gt;&lt;P&gt;Below is my vars.yml&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;ansible_network_os: checkpoint&lt;BR /&gt;mgmt_user: admin&lt;BR /&gt;mgmt_password: password@1234&lt;BR /&gt;mgmt_server: 172.31.37.222&lt;BR /&gt;mgmt_fingerprint: BEAK ROWE CRAB SANE COOL CLOD TIP SILK WAYS HOLD AJAR GOLF&lt;BR /&gt;policy_name: Standard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;I am getting below error&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;TASK [Create host object] **********************************************************************************************************************************************************************&lt;BR /&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: 'Connection' object has no attribute '_session_uid'&lt;BR /&gt;fatal: [172.31.37.222]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-local-2020txphrfve/ansible-tmp-1589191649.730437-2075-182082441282010/AnsiballZ_cp_mgmt_host.py\", line 102, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-local-2020txphrfve/ansible-tmp-1589191649.730437-2075-182082441282010/AnsiballZ_cp_mgmt_host.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-local-2020txphrfve/ansible-tmp-1589191649.730437-2075-182082441282010/AnsiballZ_cp_mgmt_host.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible.modules.network.check_point.cp_mgmt_host', init_globals=None, run_name='__main__', alter_sys=True)\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_cp_mgmt_host_payload_uo74bntw/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py\", line 333, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_cp_mgmt_host_payload_uo74bntw/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py\", line 328, in main\n File \"/tmp/ansible_cp_mgmt_host_payload_uo74bntw/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/network/checkpoint/checkpoint.py\", line 201, in api_call\n File \"/tmp/ansible_cp_mgmt_host_payload_uo74bntw/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/connection.py\", line 185, in __rpc__\nansible.module_utils.connection.ConnectionError: 'Connection' object has no attribute '_session_uid'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}&lt;/P&gt;&lt;P&gt;PLAY RECAP *************************************************************************************************************************************************************************************&lt;BR /&gt;172.31.37.222 : 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;Please let me know if you need any other details.&lt;/P&gt;&lt;P&gt;Kindly suggest me a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 10:14:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84821#M308</guid>
      <dc:creator>CCDDCM_Network_</dc:creator>
      <dc:date>2020-05-11T10:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84838#M309</link>
      <description>&lt;P&gt;Check if the API is enabled on your management, and Ansible server is in the GUI clients list. make sure you use Ansible 2.9 with the latest modules.&lt;/P&gt;
&lt;P&gt;If still failing, run playbook with -dddd flag to ensure it is not a connectivity problem.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 13:30:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84838#M309</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-05-11T13:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84841#M310</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your replay.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API is enabled on Management for all IP's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ansible 2.9 +&lt;BR /&gt;kindly let me know, how to install module on my ansible server and how to check modules.&lt;/P&gt;&lt;P&gt;I have tested, it is not a connectivity problem between Ansible Server and Management.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance !&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 13:41:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84841#M310</guid>
      <dc:creator>CCDDCM_Network_</dc:creator>
      <dc:date>2020-05-11T13:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84842#M311</link>
      <description>&lt;P&gt;You have to use the appropriate attributes for the httpapi plugin:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.ansible.com/ansible/latest/plugins/connection/httpapi.html" target="_blank" rel="noopener"&gt;https://docs.ansible.com/ansible/latest/plugins/connection/httpapi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ansible_user: admin
ansible_password: password@1234
ansible_network_os: checkpoint
ansible_httpapi_use_ssl: yes
ansible_httpapi_validate_certs: no&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 13:54:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84842#M311</guid>
      <dc:creator>IdentityUnknown</dc:creator>
      <dc:date>2020-05-11T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84848#M312</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used appropriate attributes, please find the below full error message which is i am getting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TASK [Create host object] **********************************************************************************************************************************************************************&lt;BR /&gt;task path: /etc/ansible/cp-tes.yml:7&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /root/.ansible/tmp/ansible-local-1540p8hj6toz `"&amp;amp;&amp;amp; mkdir /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871 &amp;amp;&amp;amp; echo ansible-tmp-1589207536.623636-1595-254398751069871="` echo /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871 `" ) &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;Using module file /usr/local/lib/python3.6/site-packages/ansible/modules/network/check_point/cp_mgmt_host.py&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; PUT /root/.ansible/tmp/ansible-local-1540p8hj6toz/tmp7h7gg62s TO /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/ /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; EXEC /bin/sh -c '/usr/libexec/platform-python /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;172.31.37.222&amp;gt; EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;The full traceback is:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py", line 102, in &amp;lt;module&amp;gt;&lt;BR /&gt;_ansiballz_main()&lt;BR /&gt;File "/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py", line 94, in _ansiballz_main&lt;BR /&gt;invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)&lt;BR /&gt;File "/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py", line 40, in invoke_module&lt;BR /&gt;runpy.run_module(mod_name='ansible.modules.network.check_point.cp_mgmt_host', init_globals=None, run_name='__main__', alter_sys=True)&lt;BR /&gt;File "/usr/lib64/python3.6/runpy.py", line 205, in run_module&lt;BR /&gt;return _run_module_code(code, init_globals, run_name, mod_spec)&lt;BR /&gt;File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code&lt;BR /&gt;mod_name, mod_spec, pkg_name, script_name)&lt;BR /&gt;File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code&lt;BR /&gt;exec(code, run_globals)&lt;BR /&gt;File "/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py", line 333, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py", line 328, in main&lt;BR /&gt;File "/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/network/checkpoint/checkpoint.py", line 201, in api_call&lt;BR /&gt;File "/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/connection.py", line 185, in __rpc__&lt;BR /&gt;ansible.module_utils.connection.ConnectionError: 'Connection' object has no attribute '_session_uid'&lt;BR /&gt;fatal: [172.31.37.222]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py\", line 102, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-local-1540p8hj6toz/ansible-tmp-1589207536.623636-1595-254398751069871/AnsiballZ_cp_mgmt_host.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible.modules.network.check_point.cp_mgmt_host', init_globals=None, run_name='__main__', alter_sys=True)\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py\", line 333, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/modules/network/check_point/cp_mgmt_host.py\", line 328, in main\n File \"/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/network/checkpoint/checkpoint.py\", line 201, in api_call\n File \"/tmp/ansible_cp_mgmt_host_payload_iey_wfae/ansible_cp_mgmt_host_payload.zip/ansible/module_utils/connection.py\", line 185, in __rpc__\nansible.module_utils.connection.ConnectionError: 'Connection' object has no attribute '_session_uid'\n",&lt;BR /&gt;"module_stdout": "",&lt;BR /&gt;"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",&lt;BR /&gt;"rc": 1&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 14:37:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84848#M312</guid>
      <dc:creator>CCDDCM_Network_</dc:creator>
      <dc:date>2020-05-11T14:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84849#M313</link>
      <description>&lt;P&gt;Error message sounds like&amp;nbsp;&lt;SPAN&gt;sk114661&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which Check Point version / which Jumbo?&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 14:42:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84849#M313</guid>
      <dc:creator>IdentityUnknown</dc:creator>
      <dc:date>2020-05-11T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84944#M315</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i running a playbook script for R80.40, the script is running without error but the host is not creating on management server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Playbook Script&lt;/P&gt;&lt;P&gt;- hosts: "172.31.35.106"&lt;BR /&gt;&amp;nbsp; &amp;nbsp;vars_files:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- vars.yml&lt;BR /&gt;&amp;nbsp; &amp;nbsp;connection: httpapi&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;tasks:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- name: Create host object&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cp_mgmt_host:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name: prod_host&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ip_address: 192.168.1.1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: blue&lt;/P&gt;&lt;P&gt;Below is Vars file:&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;ansible_network_os: checkpoint&lt;BR /&gt;mgmt_user: admin&lt;BR /&gt;mgmt_password: passwod12$#&lt;BR /&gt;mgmt_server: 172.31.35.106&lt;BR /&gt;mgmt_fingerprint: DANE RUNG GRIN GLEE ECHO LAND REEL DEAD HUM LEO GERM AUTO&lt;BR /&gt;policy_name: Standard&lt;BR /&gt;ansible_httpapi_validate_certs: no&lt;BR /&gt;ansible_httpapi_use_ssl: yes&lt;/P&gt;&lt;P&gt;i am running playbook using below command&lt;/P&gt;&lt;P&gt;ansible-playbook file_name.yml&lt;/P&gt;&lt;P&gt;Please find the full logs.&lt;/P&gt;&lt;P&gt;TASK [Create host object] **********************************************************************************************************************************************************************&lt;BR /&gt;task path: /etc/ansible/cp-tes.yml:7&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; ESTABLISH LOCAL CONNECTION FOR USER: root&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; EXEC /bin/sh -c '( umask 77 &amp;amp;&amp;amp; mkdir -p "` echo /root/.ansible/tmp/ansible-local-1681qxco2c0d `"&amp;amp;&amp;amp; mkdir /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016 &amp;amp;&amp;amp; echo ansible-tmp-1589294878.1862984-1736-201143778510016="` echo /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016 `" ) &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;Using module file /usr/local/lib/python3.6/site-packages/ansible/modules/network/check_point/cp_mgmt_host.py&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; PUT /root/.ansible/tmp/ansible-local-1681qxco2c0d/tmpy7ufmo7m TO /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016/AnsiballZ_cp_mgmt_host.py&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016/ /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016/AnsiballZ_cp_mgmt_host.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; EXEC /bin/sh -c '/usr/libexec/platform-python /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016/AnsiballZ_cp_mgmt_host.py &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;&amp;lt;172.31.35.106&amp;gt; EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-local-1681qxco2c0d/ansible-tmp-1589294878.1862984-1736-201143778510016/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;changed: [172.31.35.106] =&amp;gt; {&lt;BR /&gt;"changed": true,&lt;BR /&gt;"checkpoint_session_uid": "76909390-fefa-4afe-9041-9c6d491e269c",&lt;BR /&gt;"host": {&lt;BR /&gt;"color": "blue",&lt;BR /&gt;"comments": "",&lt;BR /&gt;"domain": {&lt;BR /&gt;"domain-type": "domain",&lt;BR /&gt;"name": "SMC User",&lt;BR /&gt;"uid": "41e821a0-3720-11e3-aa6e-0800200c9fde"&lt;BR /&gt;},&lt;BR /&gt;"groups": [],&lt;BR /&gt;"icon": "Objects/host",&lt;BR /&gt;"interfaces": [],&lt;BR /&gt;"ipv4-address": "192.168.1.1",&lt;BR /&gt;"meta-info": {&lt;BR /&gt;"creation-time": {&lt;BR /&gt;"iso-8601": "2020-05-12T20:17+0530",&lt;BR /&gt;"posix": 1589294879039&lt;BR /&gt;},&lt;BR /&gt;"creator": "admin",&lt;BR /&gt;"last-modifier": "admin",&lt;BR /&gt;"last-modify-time": {&lt;BR /&gt;"iso-8601": "2020-05-12T20:17+0530",&lt;BR /&gt;"posix": 1589294879039&lt;BR /&gt;},&lt;BR /&gt;"lock": "unlocked",&lt;BR /&gt;"validation-state": "ok"&lt;BR /&gt;},&lt;BR /&gt;"name": "prod_host",&lt;BR /&gt;"nat-settings": {&lt;BR /&gt;"auto-rule": false&lt;BR /&gt;},&lt;BR /&gt;"read-only": true,&lt;BR /&gt;"tags": [],&lt;BR /&gt;"type": "host",&lt;BR /&gt;"uid": "6d0fe570-550d-4f93-9bce-5f74d6772359"&lt;BR /&gt;},&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"auto_publish_session": null,&lt;BR /&gt;"color": "blue",&lt;BR /&gt;"comments": null,&lt;BR /&gt;"details_level": null,&lt;BR /&gt;"groups": null,&lt;BR /&gt;"host_servers": null,&lt;BR /&gt;"ignore_errors": null,&lt;BR /&gt;"ignore_warnings": null,&lt;BR /&gt;"interfaces": null,&lt;BR /&gt;"ip_address": "192.168.1.1",&lt;BR /&gt;"ipv4_address": null,&lt;BR /&gt;"ipv6_address": null,&lt;BR /&gt;"name": "prod_host",&lt;BR /&gt;"nat_settings": null,&lt;BR /&gt;"state": "present",&lt;BR /&gt;"tags": null,&lt;BR /&gt;"version": null,&lt;BR /&gt;"wait_for_task": true&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;META: ran handlers&lt;BR /&gt;META: ran handlers&lt;/P&gt;&lt;P&gt;PLAY RECAP *************************************************************************************************************************************************************************************&lt;BR /&gt;172.31.35.106 : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest me, what to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 14:49:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84944#M315</guid>
      <dc:creator>CCDDCM_Network_</dc:creator>
      <dc:date>2020-05-12T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84946#M316</link>
      <description>&lt;P&gt;Did you forget to publish?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 14:54:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/84946#M316</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2020-05-12T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/85468#M318</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your replay.&lt;/P&gt;&lt;P&gt;how do i add rule section using Ansible playbook, i am using below checkpoint module.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cp_mgmt_*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;as per the official Ansible checkpoint documentation, not mentioned how to add section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest me a solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance !&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shyam&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 14:38:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/85468#M318</guid>
      <dc:creator>CCDDCM_Network_</dc:creator>
      <dc:date>2020-05-16T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Playbook with checkpoint, facing errors</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/85560#M319</link>
      <description>&lt;P&gt;You are able to use "access sections" since galaxy collection version 1.0.5&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Ansible/New-version-of-Ansible-collection-1-0-5/m-p/84235/highlight/true#M306" target="_self"&gt;https://community.checkpoint.com/t5/Ansible/New-version-of-Ansible-collection-1-0-5/m-p/84235/highlight/true#M306&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest if you wanna do rulebase automation you won't need access sections. It will be much more complicated to handle your automation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 09:36:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Playbook-with-checkpoint-facing-errors/m-p/85560#M319</guid>
      <dc:creator>IdentityUnknown</dc:creator>
      <dc:date>2020-05-17T09:36:37Z</dc:date>
    </item>
  </channel>
</rss>

