<?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 module collection for Check Point host facts and Deployment Agent in Automation and APIs</title>
    <link>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/282262#M29</link>
    <description>&lt;P&gt;Version 0.9.4 of my module collection for Check Point hosts has been published to Ansible Galaxy:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://galaxy.ansible.com/ui/repo/published/webfargo/check_point/" target="_blank"&gt;https://galaxy.ansible.com/ui/repo/published/webfargo/check_point/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The gather_facts module now includes Live Patch facts.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  tasks:
    - name: Gather Check Point facts
      webfargo.check_point.gather_facts:

    - name: Check if a specific CVE is covered by a live patch
      debug:
        msg: "CVE-2026-85102 is live patched"
      when: &amp;gt;-
        ansible_facts.check_point.live_patches |
        selectattr('comment', 'search', 'CVE-2026-85102') |
        map(attribute='modules') | flatten |
        selectattr('cover', 'equalto', 'ok') | list | length &amp;gt; 0

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Install or update with:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ansible-galaxy collection install webfargo.check_point&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional modules include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;cp_gateway_vpn_certificate:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Renew VPN certificates on Check Point gateway or cluster objects&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- name: Renew VPN certificate on a simple gateway
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: gw-prod-01
    gateway_type: gateway
    certificate_name: defaultCert
    alternate_names:
      - name_type: fqdn
        value: gw-prod-01.example.com
      - name_type: ip address
        value: 192.0.2.10

- name: Renew VPN certificate on a cluster object
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: cluster-prod-01
    gateway_type: cluster
    certificate_name: defaultCert
    alternate_names:
      - name_type: fqdn
        value: cluster-prod-01.example.com

- name: Renew without auto-publishing (caller publishes later)
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: gw-prod-02
    gateway_type: gateway
    certificate_name: defaultCert
    auto_publish_session: false
    alternate_names:
      - name_type: ip address
        value: 192.0.2.20
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;cp_ia_identity_info:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Query Check Point Identity Awareness associations for one IP via the Identity Web API&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;cp_ia_identity:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Add or delete Check Point Identity Awareness associations via the Identity Web API&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;- name: Add an identity association
  webfargo.check_point.cp_ia_identity:
    ia_host: "{{ ia_mgmt_host }}"
    shared_secret: "{{ identity_api_secret }}"
    ip_address: "10.10.5.23"
    user: "jdoe"
    domain: "corp.example.com"
    user_groups:
      - "vpn-users"
    fetch_user_groups: false
    calculate_roles: true
    identity_source: "{{ inventory_hostname }}"

- name: Look up current identity associations for an IP
  webfargo.check_point.cp_ia_identity_info:
    ia_host: "{{ ia_mgmt_host }}"
    shared_secret: "{{ identity_api_secret }}"
    ip_address: "10.10.5.23"
  register: id_result

- name: Show whether any records were found
  ansible.builtin.debug:
    msg: "{{ id_result.identity_info.found }} ({{ id_result.identity_info.record_count }} records)"
&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Sep 2026 19:44:56 GMT</pubDate>
    <dc:creator>Duane_Toler</dc:creator>
    <dc:date>2026-09-11T19:44:56Z</dc:date>
    <item>
      <title>Ansible module collection for Check Point host facts and Deployment Agent</title>
      <link>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/277929#M24</link>
      <description>&lt;P&gt;This is an Ansible module collection for additional tasks on Check Point hosts:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Webfargo/ansible-collection-check_point/blob/main/README.md" target="_blank" rel="noopener"&gt;https://github.com/Webfargo/ansible-collection-check_point/&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;webfargo.check_point.da_command:                  Run arbitrary da_cli commands 
webfargo.check_point.da_package:                  Manage Check Point packages via the Deployment Agent 
webfargo.check_point.da_package_info:             Query Check Point Deployment Agent package information 
webfargo.check_point.da_status:                   Get Check Point Deployment Agent status 
webfargo.check_point.gather_facts:                Gather Check Point Gaia OS specific facts
webfargo.check_point.cp_gateway_vpn_certificate:  Renew IPsec VPN certificate on gateway or cluster
webfargo.check_point.cp_ia_identity_info:         Query Check Point Identity Awareness associations for one IP via the Identity Web API
webfargo.check_point.cp_ia_identity:              Add or delete Check Point Identity Awareness associations via the Identity Web API&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Install from Ansible Galaxy:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ansible-galaxy collection install webfargo.check_point&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Direct install from GitHub with &lt;FONT face="andale mono,times"&gt;ansible-galaxy&lt;/FONT&gt;:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ansible-galaxy collection install git+https://github.com/Webfargo/ansible-collection-check_point.git&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The &lt;FONT face="andale mono,times"&gt;gather_facts&lt;/FONT&gt; module includes these Check Point host facts:&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI&gt;Check Point version (R81.20, R82, R82.10, etc.)&lt;/LI&gt;
&lt;LI&gt;Installed hotfix versions (for all installed products)&lt;/LI&gt;
&lt;LI&gt;Live Patch modules and status for each&lt;/LI&gt;
&lt;LI&gt;Host type (gateway/management/standalone)&lt;/LI&gt;
&lt;LI&gt;OS code name and build number&lt;/LI&gt;
&lt;LI&gt;Deployment Agent build number&lt;/LI&gt;
&lt;LI&gt;SIC certificate info&lt;/LI&gt;
&lt;LI&gt;Hardware platform&lt;/LI&gt;
&lt;LI&gt;VSX status&lt;/LI&gt;
&lt;LI&gt;Cluster/HA status&lt;/LI&gt;
&lt;LI&gt;Check Point SNMP daemon status&lt;/LI&gt;
&lt;LI&gt;Firewall policy status (if gateway)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-06-06 at 11.21.17 AM copy.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34379iE5C9A8E0E3B82E10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-06 at 11.21.17 AM copy.png" alt="Screenshot 2026-06-06 at 11.21.17 AM copy.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The Deployment Agent modules include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Verify, Install, Uninstall packages&lt;/LI&gt;
&lt;LI&gt;Blink and clean-install/upgrade packages&lt;/LI&gt;
&lt;LI&gt;Import packages from local disk&lt;/LI&gt;
&lt;LI&gt;Update package repository&lt;/LI&gt;
&lt;LI&gt;Query package repository&lt;/LI&gt;
&lt;LI&gt;Check Deployment Agent status&lt;/LI&gt;
&lt;LI&gt;Run arbitrary Deployment Agent commands&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Package install/uninstall operations will poll the Deployment Agent task continuously to monitor the progress. When the host reboots, the status is monitored to return a successful status rather than dropping the connection. The Ansible module wait_for_connection can be used to monitor the host's reboot operation.&lt;/P&gt;
&lt;P&gt;For Blink package upgrades, the multi-stage reboot is monitored by the da_package module to check the stage 2 operation rather than dropping the SSH connection.&lt;/P&gt;
&lt;P&gt;Packages can be copied with the Ansible module &lt;FONT face="andale mono,times"&gt;ansible.builtin.copy&lt;/FONT&gt; and imported to the package repository.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-06-06 at 1.30.12 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34380i82A210CF1F90A13D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-06 at 1.30.12 PM.png" alt="Screenshot 2026-06-06 at 1.30.12 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2026-06-06 at 3.52.08 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34383iFEDFDD854BF83C0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-06-06 at 3.52.08 PM.png" alt="Screenshot 2026-06-06 at 3.52.08 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Although R82 has introduced package management with the management API, &amp;nbsp;there may be times when direct package management may be necessary on the remote host. &amp;nbsp;For those without R82 yet, this could help you get there! &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2026 19:51:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/277929#M24</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2026-09-11T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible module collection for Check Point host facts and Deployment Agent</title>
      <link>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/278330#M26</link>
      <description>&lt;P&gt;v0.7.0 has been release, fixing some bugs, install and upgrade state oddities encountered recently:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Webfargo/ansible-collection-check_point/tree/v0.7.0" target="_blank"&gt;https://github.com/Webfargo/ansible-collection-check_point/tree/v0.7.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Change Log included, too:&amp;nbsp;&lt;A href="https://github.com/Webfargo/ansible-collection-check_point/blob/v0.7.0/CHANGELOG.md" target="_blank"&gt;https://github.com/Webfargo/ansible-collection-check_point/blob/v0.7.0/CHANGELOG.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 14:10:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/278330#M26</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2026-06-11T14:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible module collection for Check Point host facts and Deployment Agent</title>
      <link>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/282262#M29</link>
      <description>&lt;P&gt;Version 0.9.4 of my module collection for Check Point hosts has been published to Ansible Galaxy:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://galaxy.ansible.com/ui/repo/published/webfargo/check_point/" target="_blank"&gt;https://galaxy.ansible.com/ui/repo/published/webfargo/check_point/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The gather_facts module now includes Live Patch facts.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;  tasks:
    - name: Gather Check Point facts
      webfargo.check_point.gather_facts:

    - name: Check if a specific CVE is covered by a live patch
      debug:
        msg: "CVE-2026-85102 is live patched"
      when: &amp;gt;-
        ansible_facts.check_point.live_patches |
        selectattr('comment', 'search', 'CVE-2026-85102') |
        map(attribute='modules') | flatten |
        selectattr('cover', 'equalto', 'ok') | list | length &amp;gt; 0

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Install or update with:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ansible-galaxy collection install webfargo.check_point&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional modules include:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;cp_gateway_vpn_certificate:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Renew VPN certificates on Check Point gateway or cluster objects&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;- name: Renew VPN certificate on a simple gateway
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: gw-prod-01
    gateway_type: gateway
    certificate_name: defaultCert
    alternate_names:
      - name_type: fqdn
        value: gw-prod-01.example.com
      - name_type: ip address
        value: 192.0.2.10

- name: Renew VPN certificate on a cluster object
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: cluster-prod-01
    gateway_type: cluster
    certificate_name: defaultCert
    alternate_names:
      - name_type: fqdn
        value: cluster-prod-01.example.com

- name: Renew without auto-publishing (caller publishes later)
  webfargo.check_point.cp_gateway_vpn_certificate:
    name: gw-prod-02
    gateway_type: gateway
    certificate_name: defaultCert
    auto_publish_session: false
    alternate_names:
      - name_type: ip address
        value: 192.0.2.20
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;cp_ia_identity_info:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Query Check Point Identity Awareness associations for one IP via the Identity Web API&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;cp_ia_identity:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Add or delete Check Point Identity Awareness associations via the Identity Web API&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;- name: Add an identity association
  webfargo.check_point.cp_ia_identity:
    ia_host: "{{ ia_mgmt_host }}"
    shared_secret: "{{ identity_api_secret }}"
    ip_address: "10.10.5.23"
    user: "jdoe"
    domain: "corp.example.com"
    user_groups:
      - "vpn-users"
    fetch_user_groups: false
    calculate_roles: true
    identity_source: "{{ inventory_hostname }}"

- name: Look up current identity associations for an IP
  webfargo.check_point.cp_ia_identity_info:
    ia_host: "{{ ia_mgmt_host }}"
    shared_secret: "{{ identity_api_secret }}"
    ip_address: "10.10.5.23"
  register: id_result

- name: Show whether any records were found
  ansible.builtin.debug:
    msg: "{{ id_result.identity_info.found }} ({{ id_result.identity_info.record_count }} records)"
&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2026 19:44:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Automation-and-APIs/Ansible-module-collection-for-Check-Point-host-facts-and/m-p/282262#M29</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2026-09-11T19:44:56Z</dc:date>
    </item>
  </channel>
</rss>

