cisco.ise.sg_mapping_deploy_all 模块 – SG映射全部部署的资源模块
注意
此模块是 cisco.ise 集合 (版本 2.9.6) 的一部分。
如果您使用的是 ansible
包,则可能已经安装了此集合。它不包含在 ansible-core
中。要检查它是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用: ansible-galaxy collection install cisco.ise
。您需要其他要求才能使用此模块,请参阅 要求 以了解详情。
要在playbook中使用它,请指定: cisco.ise.sg_mapping_deploy_all
。
cisco.ise 1.0.0中的新增功能
概要
管理资源SG映射全部部署的操作更新。
此API允许客户端部署所有IP到SGT映射。
注意
此模块具有相应的 操作插件。
要求
执行此模块的主机需要以下要求。
ciscoisesdk >= 2.2.3
python >= 3.5
参数
参数 |
注释 |
---|---|
用于Identity Services Engine SDK以启用调试。 选项
|
|
Identity Services Engine主机名。 |
|
用于身份验证的Identity Services Engine密码。 |
|
RESTful HTTP请求的超时(以秒为单位)。 默认值: |
|
用于身份验证的Identity Services Engine用户名。 |
|
告知SDK我们是否将CSRF令牌发送到ISE的ERS API的标志。 如果为True,则SDK假设您的ISE CSRF检查已启用。 如果为True,则假设您需要SDK自动为您管理CSRF令牌。 选项
|
|
启用或禁用SSL证书验证的标志。 选项
|
|
告知SDK要使用哪个版本的Identity Services Engine。 默认值: |
|
用于Identity Services Engine SDK以启用自动速率限制处理的标志。 选项
|
注释
注意
使用的SDK方法是ip_to_sgt_mapping.IpToSgtMapping.deploy_all_ip_to_sgt_mapping,
使用的路径是put /ers/config/sgmapping/deployall,
不支持
check_mode
插件在控制节点上运行,不使用任何ansible连接插件,而是使用Cisco ISE SDK中的嵌入式连接管理器
以ise_开头的参数由Cisco ISE Python SDK用于建立连接
另请参阅
另请参阅
- Cisco ISE关于IPToSGTMapping的文档
IPToSGTMapping API的完整参考。
示例
- name: Update all
cisco.ise.sg_mapping_deploy_all:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
返回值
常见的返回值已在 此处 记录,以下是此模块独有的字段
键 |
描述 |
---|---|
包含Cisco ISE Python SDK返回的响应的字典或列表 返回: 始终 示例: |