<?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 Checkpoint using Ansible - Error Message in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108422#M415</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use Ansible to communicate with a device on SmartConsole checkpoint.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;: How can I effectively communicate(authenticate) with Checkpoint devices?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using R80.40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;hosts&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[checkpoint]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;10.31.30.121&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[checkpoint:vars]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_httpapi_validate_certs=&lt;/FONT&gt;False&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_httpapi_use_ssl=&lt;/FONT&gt;True&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_network_os=&lt;/FONT&gt;checkpoint&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;policy_name=&lt;/FONT&gt;Standard&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;mgmt_server=&lt;/FONT&gt;#mgmt_serper_IP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_python_interpreter=&lt;/FONT&gt;/usr/bin/python3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansbile_user=&lt;/FONT&gt;#Checkpoint Username&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_password=&lt;/FONT&gt;#Checkpoint Password&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;cp_mgmt_host.yml&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;- hosts: checkpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp; connection: httpapi&lt;/P&gt;&lt;P&gt;&amp;nbsp; tasks:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- name: Create host object&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cp_mgmt_host:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: dark green&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ipv4_address: 192.0.2.2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name: New CP_MGMT Host 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;state: present&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;auto_publish_session: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Error Message&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;$ansible-playbook cp_mgmt_host.yml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLAY [checkpoint] ***********************************************************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TASK [Gathering Facts] ***********************************************************************************************************************&lt;BR /&gt;ok: [10.31.30.121]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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: [10.31.3.130]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/AnsiballZ_cp_mgmt_host.py\", line 102, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/AnsiballZ_cp_mgmt_host.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/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/lib/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_cp_mgmt_host_payload_8n9zbibm/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_8n9zbibm/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_8n9zbibm/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_8n9zbibm/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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLAY RECAP ***********************************************************************************************************************&lt;BR /&gt;10.31.3.130 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 16:43:48 GMT</pubDate>
    <dc:creator>ukohae</dc:creator>
    <dc:date>2021-01-21T16:43:48Z</dc:date>
    <item>
      <title>Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108422#M415</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use Ansible to communicate with a device on SmartConsole checkpoint.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/FONT&gt;: How can I effectively communicate(authenticate) with Checkpoint devices?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using R80.40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;hosts&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[checkpoint]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;10.31.30.121&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[checkpoint:vars]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_httpapi_validate_certs=&lt;/FONT&gt;False&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_httpapi_use_ssl=&lt;/FONT&gt;True&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_network_os=&lt;/FONT&gt;checkpoint&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;policy_name=&lt;/FONT&gt;Standard&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;mgmt_server=&lt;/FONT&gt;#mgmt_serper_IP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_python_interpreter=&lt;/FONT&gt;/usr/bin/python3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansbile_user=&lt;/FONT&gt;#Checkpoint Username&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;ansible_password=&lt;/FONT&gt;#Checkpoint Password&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;cp_mgmt_host.yml&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;- hosts: checkpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp; connection: httpapi&lt;/P&gt;&lt;P&gt;&amp;nbsp; tasks:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- name: Create host object&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cp_mgmt_host:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;color: dark green&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ipv4_address: 192.0.2.2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name: New CP_MGMT Host 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;state: present&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;auto_publish_session: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;---------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Error Message&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;$ansible-playbook cp_mgmt_host.yml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLAY [checkpoint] ***********************************************************************************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TASK [Gathering Facts] ***********************************************************************************************************************&lt;BR /&gt;ok: [10.31.30.121]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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: [10.31.3.130]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/AnsiballZ_cp_mgmt_host.py\", line 102, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/AnsiballZ_cp_mgmt_host.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/user/.ansible/tmp/ansible-local-26357sRCDQE/ansible-tmp-1611243679.24-26455-18666920100150/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/lib/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_cp_mgmt_host_payload_8n9zbibm/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_8n9zbibm/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_8n9zbibm/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_8n9zbibm/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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLAY RECAP ***********************************************************************************************************************&lt;BR /&gt;10.31.3.130 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 16:43:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108422#M415</guid>
      <dc:creator>ukohae</dc:creator>
      <dc:date>2021-01-21T16:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108425#M416</link>
      <description>&lt;P&gt;Have a look at the JHF installed on the SMS&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk114661" target="_blank" rel="noopener"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk114661&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 16:41:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108425#M416</guid>
      <dc:creator>funkylicious</dc:creator>
      <dc:date>2021-01-21T16:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108437#M417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My version of SmartConsole is R80.40. When I try to install collection management, it doesn't install. If the ansible collection mgmt is installed could it fix the bug?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 17:29:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108437#M417</guid>
      <dc:creator>ukohae</dc:creator>
      <dc:date>2021-01-21T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108448#M418</link>
      <description>&lt;P&gt;Two things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install CHKP Management Collection (and overwrite if present)
&lt;UL&gt;
&lt;LI&gt;$ ansible-galaxy collection install check_point.mgmt --force&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Your&amp;nbsp;ansible_network_os in the inventory is using the built-in&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;checkpoint&lt;/STRONG&gt;&lt;/EM&gt; modules of Ansible. You need to force to use the modules from the collection that you installed
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;ansible_network_os=check_point.mgmt.checkpoint&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Then in the playbook, the Ansible module is referred to&amp;nbsp;&lt;EM&gt;check_point.mgmt.MODULE&lt;BR /&gt;See:&amp;nbsp;&lt;/EM&gt;&lt;A href="https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/" target="_blank"&gt;https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/&lt;/A&gt;&amp;nbsp;and look for modules starting&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;cp_mgmt&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Let us know if you have any other questions.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 21:20:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108448#M418</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-01-21T21:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108457#M420</link>
      <description>&lt;P&gt;When I try to install Ansible Collection on my office machine. I keep getting an error message&lt;/P&gt;&lt;P&gt;" Error! Unknown error when attempting to call Galaxy at '&lt;A href="https://galaxy.ansible.com/api" target="_blank"&gt;https://galaxy.ansible.com/api&lt;/A&gt;': &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 00:40:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108457#M420</guid>
      <dc:creator>ukohae</dc:creator>
      <dc:date>2021-01-22T00:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108461#M421</link>
      <description>&lt;P&gt;So that is something completely else. It seems like you have HTTPS Interception (SSL Decryption) going outbound or just don't have the CA certificates installed. So install your TLS/SSL Interceptors CA on that machine, or you can execute the ansible-galaxy with&amp;nbsp;&lt;CODE&gt;--ignore-certs&lt;/CODE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;$ ansible-galaxy collection install check_point.mgmt --force --ignore-certs&lt;/LI-CODE&gt;
&lt;P&gt;Make sure you have&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;ca-certificates&lt;/STRONG&gt;&lt;/EM&gt; is installed, according to your Linux Distro (this is for Debian based systems) which will install common CA certificates.&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 01:36:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108461#M421</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-01-22T01:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108467#M423</link>
      <description>&lt;P&gt;So I ran the command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ ansible-galaxy collection install check_point.mgmt --force --ignore-certs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the&amp;nbsp;&lt;STRONG&gt;ca-certificate,&amp;nbsp;&lt;/STRONG&gt; but I get an Error Message.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR! Mismatch artifact hash with the downloaded file&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 02:36:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108467#M423</guid>
      <dc:creator>ukohae</dc:creator>
      <dc:date>2021-01-22T02:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Checkpoint using Ansible - Error Message</title>
      <link>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108614#M424</link>
      <description>&lt;P&gt;Sorry, but without looking at your environment it's hard to say what it could be. This is not anymore Ansible related.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2021 20:32:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Checkpoint-using-Ansible-Error-Message/m-p/108614#M424</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-01-23T20:32:36Z</dc:date>
    </item>
  </channel>
</rss>

