check_point.mgmt.cp_mgmt_distribute_cloud_licenses (5.2.3) — module

Distribute licenses to target CloudGuard gateways.

| "added in version" 5.2.0 of check_point.mgmt"

Authors: Eden Brillant (@chkp-edenbr)

preview | supported by community

Install collection

Install with ansible-galaxy collection install check_point.mgmt:==5.2.3


Add to requirements.yml

  collections:
    - name: check_point.mgmt
      version: 5.2.3

Description

Distribute licenses to target CloudGuard gateways. For more information, see the <A HREF = "https://sc1.checkpoint.com/documents/IaaS/WebAdminGuides/EN/CP_CloudGuard_Central_License_Tool_Admin_Guide/Content/Topics-Central-License-Tool/Overview.h m?tocpath=Overview%7C_____0#Overview"><b>Central License Administration Guide</b></A>.

All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: distribute-cloud-licenses
  cp_mgmt_distribute_cloud_licenses:
    targets:
    - GW1
    - GW2

Inputs

    
targets:
    description:
    - Targets are uid or name of the security gateway(s). In case no target specified,
      the license will be distributed to all CloudGuard security gateways.
    elements: str
    type: list

version:
    description:
    - Version of checkpoint. If not given one, the latest version taken.
    type: str

wait_for_task:
    default: true
    description:
    - Wait for the task to end. Such as publish task.
    type: bool

auto_publish_session:
    default: false
    description:
    - Publish the current session if changes have been performed after task completes.
    type: bool

wait_for_task_timeout:
    default: 30
    description:
    - How many minutes to wait until throwing a timeout error.
    type: int

Outputs

cp_mgmt_distribute_cloud_licenses:
  description: The checkpoint distribute-cloud-licenses output.
  returned: always.
  type: dict