check_point.mgmt.cp_mgmt_distribute_cloud_licenses 模块 – 将许可证分发到目标 CloudGuard 网关。

注意

此模块是 check_point.mgmt 集合 (版本 6.2.1) 的一部分。

如果您使用的是 ansible 软件包,则可能已安装此集合。它不包含在 ansible-core 中。要检查它是否已安装,请运行 ansible-galaxy collection list

要安装它,请使用: ansible-galaxy collection install check_point.mgmt

要在剧本中使用它,请指定: check_point.mgmt.cp_mgmt_distribute_cloud_licenses

check_point.mgmt 5.2.0 中的新增功能

概要

参数

参数

注释

auto_publish_session

布尔值

如果任务完成后已执行更改,则发布当前会话。

选项

  • false ← (默认)

  • true

targets

列表 / 元素=字符串

目标是安全网关的 UID 或名称。如果未指定目标,则许可证将分发到所有 CloudGuard 安全网关。

version

字符串

Checkpoint 的版本。如果未指定,则采用最新版本。

wait_for_task

布尔值

等待任务结束。例如发布任务。

选项

  • false

  • true ← (默认)

wait_for_task_timeout

整数

在抛出超时错误之前等待多少分钟。

默认值: 30

示例

- name: distribute-cloud-licenses
  cp_mgmt_distribute_cloud_licenses:
    targets:
    - GW1
    - GW2

返回值

常用返回值已在 此处 记录,以下是此模块特有的字段

描述

cp_mgmt_distribute_cloud_licenses

字典

Checkpoint 分发云许可证的输出。

返回:始终。

作者

  • Eden Brillant (@chkp-edenbr)