check_point.mgmt.cp_mgmt_set_cloud_services 模块 – 设置管理服务器和 Check Point 的 Infinity Portal 之间的连接设置。

注意

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

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

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

要在 playbook 中使用它,请指定:check_point.mgmt.cp_mgmt_set_cloud_services

check_point.mgmt 5.0.0 中的新功能

概要

  • 设置管理服务器和 Check Point 的 Infinity Portal 之间的连接设置。

  • 所有操作都通过 Web Services API 执行。

参数

参数

注释

auto_publish_session

布尔值

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

选择

  • false ← (默认)

  • true

gateways_onboarding_settings

字典

网关加入 Infinity Portal 的设置。

connection_method

字符串

指示网关将自动连接到 Infinity Portal,还是仅在策略安装后连接。

选择

  • "automatically"

  • "after install policy"

details_level

字符串

响应中某些字段的详细程度可能会有所不同,从仅显示对象的 UID 值到对象的完整详细表示。

选择

  • "uid"

  • "standard"

  • "full"

participant_gateways

字符串

哪些网关将连接到 Infinity Portal。

选择

  • "all"

  • "specific"

specific_gateways

列表 / 元素=字符串

选择由名称或 UID 标识的将加入云的目标。仅当“participant-gateways”字段设置为“specific”时,才会应用配置。

status

字符串

连接状态。

选择

  • "connected"

  • "disabled"

version

字符串

检查点版本。如果未提供版本,则采用最新版本。

wait_for_task

布尔值

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

选择

  • false

  • true ← (默认)

wait_for_task_timeout

整数

等待多少分钟,直到抛出超时错误。

默认值: 30

示例

- name: set-cloud-services
  cp_mgmt_set_cloud_services:
    gateways_onboarding_settings:
      connection_method: after install policy
      participant_gateways: specific
      specific_gateways: gw1

返回值

通用返回值记录在 此处,以下是此模块独有的字段

描述

cp_mgmt_set_cloud_services

字典

检查点 set-cloud-services 输出。

已返回: 始终。

作者

  • Eden Brillant (@chkp-edenbr)