fortinet.fortimanager.fmgr_clone 模块 – 在 FortiManager 中克隆对象。

注意

此模块是 fortinet.fortimanager 集合(版本 2.8.2)的一部分。

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

要安装它,请使用:ansible-galaxy collection install fortinet.fortimanager

要在 playbook 中使用它,请指定:fortinet.fortimanager.fmgr_clone

fortinet.fortimanager 2.0.0 中的新功能

概要

  • 此模块能够配置 FortiManager 设备。

  • 示例包括所有参数和值,在使用前需要根据数据源进行调整。

参数

参数

注释

access_token

字符串

无需使用用户名和密码即可访问 FortiManager 的令牌。

clone

字典 / 必需

克隆一个对象。

selector

字符串 / 必需

克隆对象的选择器。

选项

  • "antivirus_mmschecksum"

  • "antivirus_mmschecksum_entries"

  • "antivirus_notification"

  • "antivirus_notification_entries"

  • "antivirus_profile"

  • "apcfgprofile"

  • "apcfgprofile_commandlist"

  • "application_casi_profile"

  • "application_casi_profile_entries"

  • "application_categories"

  • "application_custom"

  • "application_group"

  • "application_internetservice_entry"

  • "application_internetservicecustom"

  • "application_internetservicecustom_disableentry"

  • "application_internetservicecustom_disableentry_iprange"

  • "application_internetservicecustom_entry"

  • "application_internetservicecustom_entry_portrange"

  • "application_list"

  • "application_list_defaultnetworkservices"

  • "application_list_entries"

  • "application_list_entries_parameters"

  • "application_list_entries_parameters_members"

  • "arrpprofile"

  • "authentication_scheme"

  • "bleprofile"

  • "bonjourprofile"

  • "bonjourprofile_policylist"

  • "casb_profile"

  • "casb_profile_saasapplication"

  • "casb_profile_saasapplication_accessrule"

  • "casb_profile_saasapplication_customcontrol"

  • "casb_profile_saasapplication_customcontrol_option"

  • "casb_saasapplication"

  • "casb_useractivity"

  • "casb_useractivity_controloptions"

  • "casb_useractivity_controloptions_operations"

  • "casb_useractivity_match"

  • "casb_useractivity_match_rules"

  • "certificate_template"

  • "cifs_domaincontroller"

  • "cifs_profile"

  • "cifs_profile_filefilter_entries"

  • "cifs_profile_serverkeytab"

  • "cloud_orchestaws"

  • "cloud_orchestawsconnector"

  • "cloud_orchestawstemplate_autoscaleexistingvpc"

  • "cloud_orchestawstemplate_autoscalenewvpc"

  • "cloud_orchestawstemplate_autoscaletgwnewvpc"

  • "cloud_orchestration"

  • "credentialstore_domaincontroller"

  • "devprof_log_syslogd_filter_excludelist"

  • "devprof_log_syslogd_filter_excludelist_fields"

  • "devprof_log_syslogd_filter_freestyle"

  • "devprof_log_syslogd_setting_customfieldname"

  • "devprof_system_centralmanagement_serverlist"

  • "devprof_system_ntp_ntpserver"

  • "devprof_system_snmp_community"

  • "devprof_system_snmp_community_hosts"

  • "devprof_system_snmp_community_hosts6"

  • "devprof_system_snmp_user"

  • "diameterfilter_profile"

  • "dlp_datatype"

  • "dlp_dictionary"

  • "dlp_dictionary_entries"

  • "dlp_filepattern"

  • "dlp_filepattern_entries"

  • "dlp_fpsensitivity"

  • "dlp_profile"

  • "dlp_profile_rule"

  • "dlp_sensitivity"

  • "dlp_sensor"

  • "dlp_sensor_entries"

  • "dlp_sensor_filter"

  • "dnsfilter_domainfilter"

  • "dnsfilter_domainfilter_entries"

  • "dnsfilter_profile"

  • "dnsfilter_profile_dnstranslation"

  • "dnsfilter_profile_ftgddns_filters"

  • "dnsfilter_urlfilter"

  • "dnsfilter_urlfilter_entries"

  • "dvmdb_revision"

  • "dynamic_address"

  • "dynamic_address_dynamicaddrmapping"

  • "dynamic_certificate_local"

  • "dynamic_certificate_local_dynamicmapping"

  • "dynamic_input_interface"

  • "dynamic_input_interface_dynamicmapping"

  • "dynamic_interface"

  • "dynamic_interface_dynamicmapping"

  • "dynamic_interface_platformmapping"

  • "dynamic_ippool"

  • "dynamic_multicast_interface"

  • "dynamic_multicast_interface_dynamicmapping"

  • "dynamic_vip"

  • "dynamic_virtualwanlink_members"

  • "dynamic_virtualwanlink_members_dynamicmapping"

  • "dynamic_virtualwanlink_neighbor"

  • "dynamic_virtualwanlink_neighbor_dynamicmapping"

  • "dynamic_virtualwanlink_server"

  • "dynamic_virtualwanlink_server_dynamicmapping"

  • "dynamic_vpntunnel"

  • "dynamic_vpntunnel_dynamicmapping"

  • "emailfilter_blockallowlist"

  • "emailfilter_blockallowlist_entries"

  • "emailfilter_bwl"

  • "emailfilter_bwl_entries"

  • "emailfilter_bword"

  • "emailfilter_bword_entries"

  • "emailfilter_dnsbl"

  • "emailfilter_dnsbl_entries"

  • "emailfilter_iptrust"

  • "emailfilter_iptrust_entries"

  • "emailfilter_mheader"

  • "emailfilter_mheader_entries"

  • "emailfilter_profile"

  • "emailfilter_profile_filefilter_entries"

  • "endpointcontrol_fctems"

  • "extendercontroller_dataplan"

  • "extendercontroller_extenderprofile"

  • "extendercontroller_extenderprofile_cellular_smsnotification_receiver"

  • "extendercontroller_extenderprofile_lanextension_backhaul"

  • "extendercontroller_simprofile"

  • "extendercontroller_template"

  • "extensioncontroller_dataplan"

  • "extensioncontroller_extenderprofile"

  • "extensioncontroller_extenderprofile_cellular_smsnotification_receiver"

  • "extensioncontroller_extenderprofile_lanextension_backhaul"

  • "filefilter_profile"

  • "filefilter_profile_rules"

  • "firewall_accessproxy"

  • "firewall_accessproxy6"

  • "firewall_accessproxy6_apigateway"

  • "firewall_accessproxy6_apigateway6"

  • "firewall_accessproxy6_apigateway6_realservers"

  • "firewall_accessproxy6_apigateway6_sslciphersuites"

  • "firewall_accessproxy6_apigateway_realservers"

  • "firewall_accessproxy6_apigateway_sslciphersuites"

  • "firewall_accessproxy_apigateway"

  • "firewall_accessproxy_apigateway6"

  • "firewall_accessproxy_apigateway6_realservers"

  • "firewall_accessproxy_apigateway6_sslciphersuites"

  • "firewall_accessproxy_apigateway_realservers"

  • "firewall_accessproxy_apigateway_sslciphersuites"

  • "firewall_accessproxy_realservers"

  • "firewall_accessproxy_serverpubkeyauthsettings_certextension"

  • "firewall_accessproxysshclientcert"

  • "firewall_accessproxysshclientcert_certextension"

  • "firewall_accessproxyvirtualhost"

  • "firewall_address"

  • "firewall_address6"

  • "firewall_address6_dynamicmapping"

  • "firewall_address6_dynamicmapping_subnetsegment"

  • "firewall_address6_list"

  • "firewall_address6_profilelist"

  • "firewall_address6_subnetsegment"

  • "firewall_address6_tagging"

  • "firewall_address6template"

  • "firewall_address6template_subnetsegment"

  • "firewall_address6template_subnetsegment_values"

  • "firewall_address_dynamicmapping"

  • "firewall_address_list"

  • "firewall_address_profilelist"

  • "firewall_address_tagging"

  • "firewall_addrgrp"

  • "firewall_addrgrp6"

  • "firewall_addrgrp6_dynamicmapping"

  • "firewall_addrgrp6_tagging"

  • "firewall_addrgrp_dynamicmapping"

  • "firewall_addrgrp_tagging"

  • "firewall_carrierendpointbwl"

  • "firewall_carrierendpointbwl_entries"

  • "firewall_casbprofile"

  • "firewall_casbprofile_saasapplication"

  • "firewall_casbprofile_saasapplication_accessrule"

  • "firewall_casbprofile_saasapplication_customcontrol"

  • "firewall_casbprofile_saasapplication_customcontrol_option"

  • "firewall_decryptedtrafficmirror"

  • "firewall_explicitproxyaddress"

  • "firewall_explicitproxyaddress_headergroup"

  • "firewall_explicitproxyaddrgrp"

  • "firewall_gtp"

  • "firewall_gtp_apn"

  • "firewall_gtp_ieremovepolicy"

  • "firewall_gtp_imsi"

  • "firewall_gtp_ippolicy"

  • "firewall_gtp_noippolicy"

  • "firewall_gtp_perapnshaper"

  • "firewall_gtp_policy"

  • "firewall_gtp_policyv2"

  • "firewall_identitybasedroute"

  • "firewall_identitybasedroute_rule"

  • "firewall_internetservice_entry"

  • "firewall_internetserviceaddition"

  • "firewall_internetserviceaddition_entry"

  • "firewall_internetserviceaddition_entry_portrange"

  • "firewall_internetservicecustom"

  • "firewall_internetservicecustom_disableentry"

  • "firewall_internetservicecustom_disableentry_iprange"

  • "firewall_internetservicecustom_entry"

  • "firewall_internetservicecustom_entry_portrange"

  • "firewall_internetservicecustomgroup"

  • "firewall_internetservicegroup"

  • "防火墙_互联网服务名称"

  • "防火墙_IP池"

  • "防火墙_IPv6池"

  • "防火墙_IPv6池_动态映射"

  • "防火墙_IP池_动态映射"

  • "防火墙_IP池组"

  • "防火墙_LDB监控器"

  • "防火墙_MMS配置文件"

  • "防火墙_MMS配置文件_通知MSISDN"

  • "防火墙_多播地址"

  • "防火墙_多播IPv6地址"

  • "防火墙_多播IPv6地址_标记"

  • "防火墙_多播地址_标记"

  • "防火墙_网络服务动态"

  • "防火墙_配置文件组"

  • "防火墙_配置文件协议选项"

  • "防火墙_配置文件协议选项_CIFS文件过滤器条目"

  • "防火墙_配置文件协议选项_CIFS服务器密钥表"

  • "防火墙_代理地址"

  • "防火墙_代理地址_头部组"

  • "防火墙_代理地址_标记"

  • "防火墙_代理地址组"

  • "防火墙_代理地址组_标记"

  • "防火墙_计划_组"

  • "防火墙_计划_单次"

  • "防火墙_计划_重复"

  • "防火墙_服务_类别"

  • "防火墙_服务_自定义"

  • "防火墙_服务_组"

  • "防火墙_整形器_每个IP整形器"

  • "防火墙_整形器_流量整形器"

  • "防火墙_整形配置文件"

  • "防火墙_整形配置文件_整形条目"

  • "防火墙_SSH_本地CA"

  • "防火墙_SSLSSH配置文件"

  • "防火墙_SSLSSH配置文件_回显外部SNI"

  • "防火墙_SSLSSH配置文件_SSL豁免"

  • "防火墙_SSLSSH配置文件_SSL服务器"

  • "防火墙_流量类别"

  • "防火墙_VIP"

  • "防火墙_VIP46"

  • "防火墙_VIP46_动态映射"

  • "防火墙_VIP46_真实服务器"

  • "防火墙_VIP6"

  • "防火墙_VIP64"

  • "防火墙_VIP64_动态映射"

  • "防火墙_VIP64_真实服务器"

  • "防火墙_VIP6_动态映射"

  • "防火墙_VIP6_动态映射_真实服务器"

  • "防火墙_VIP6_动态映射_SSL密码套件"

  • "防火墙_VIP6_真实服务器"

  • "防火墙_VIP6_SSL密码套件"

  • "防火墙_VIP6_SSL服务器密码套件"

  • "防火墙_VIP_动态映射"

  • "防火墙_VIP_动态映射_真实服务器"

  • "防火墙_VIP_动态映射_SSL密码套件"

  • "防火墙_VIP_GSLB公共IP"

  • "防火墙_VIP_真实服务器"

  • "防火墙_VIP_SSL密码套件"

  • "防火墙_VIP_SSL服务器密码套件"

  • "防火墙_VIP组"

  • "防火墙_VIP组46"

  • "防火墙_VIP组6"

  • "防火墙_VIP组64"

  • "防火墙_VIP组_动态映射"

  • "防火墙_通配符FQDN_自定义"

  • "防火墙_通配符FQDN_组"

  • "FMG_设备_蓝图"

  • "FMG_Fabric_授权_模板"

  • "FMG_Fabric_授权_模板_平台"

  • "FMG_变量"

  • "FMG_变量_动态映射"

  • "FSP_VLAN"

  • "FSP_VLAN_DHCP服务器_排除范围"

  • "FSP_VLAN_DHCP服务器_IP范围"

  • "FSP_VLAN_DHCP服务器_选项"

  • "FSP_VLAN_DHCP服务器_保留地址"

  • "FSP_VLAN_动态映射"

  • "FSP_VLAN_动态映射_DHCP服务器_排除范围"

  • "FSP_VLAN_动态映射_DHCP服务器_IP范围"

  • "FSP_VLAN_动态映射_DHCP服务器_选项"

  • "FSP_VLAN_动态映射_DHCP服务器_保留地址"

  • "FSP_VLAN_动态映射_接口_IPv6_IP6委派前缀列表"

  • "FSP_VLAN_动态映射_接口_IPv6_IP6额外地址"

  • "FSP_VLAN_动态映射_接口_IPv6_IP6前缀列表"

  • "FSP_VLAN_动态映射_接口_IPv6_VRRP6"

  • "FSP_VLAN_动态映射_接口_辅助IP"

  • "FSP_VLAN_动态映射_接口_VRRP"

  • "FSP_VLAN_动态映射_接口_VRRP_代理ARP"

  • "FSP_VLAN_接口_IPv6_IP6委派前缀列表"

  • "FSP_VLAN_接口_IPv6_IP6额外地址"

  • "FSP_VLAN_接口_IPv6_IP6前缀列表"

  • "FSP_VLAN_接口_IPv6_VRRP6"

  • "FSP_VLAN_接口_辅助IP"

  • "FSP_VLAN_接口_VRRP"

  • "FSP_VLAN_接口_VRRP_代理ARP"

  • "GTP_APN"

  • "GTP_APN组"

  • "GTP_IE白名单"

  • "GTP_IE白名单_条目"

  • "GTP_消息过滤器V0V1"

  • "GTP_消息过滤器V2"

  • "GTP_隧道限制"

  • "热点20_ANQP3GPP蜂窝"

  • "热点20_ANQP3GPP蜂窝_MCCMNC列表"

  • "热点20_ANQPIP地址类型"

  • "热点20_ANQPNai领域"

  • "热点20_ANQPNai领域_Nai列表"

  • "热点20_ANQPNai领域_Nai列表_EAP方法"

  • "热点20_ANQPNai领域_Nai列表_EAP方法_认证参数"

  • "热点20_ANQP网络认证类型"

  • "热点20_ANQPRoaming联盟"

  • "热点20_ANQPRoaming联盟_OI列表"

  • "热点20_ANQP场所名称"

  • "热点20_ANQP场所名称_值列表"

  • "热点20_ANQP场所URL"

  • "热点20_ANQP场所URL_值列表"

  • "热点20_H2QP费用通知"

  • "热点20_H2QP费用通知_AOC列表"

  • "热点20_H2QP费用通知_AOC列表_计划信息"

  • "热点20_H2QP连接能力"

  • "热点20_H2QP运营商名称"

  • "热点20_H2QP运营商名称_值列表"

  • "热点20_H2QPOSU提供商"

  • "热点20_H2QPOSU提供商_友好名称"

  • "热点20_H2QPOSU提供商_服务描述"

  • "热点20_H2QPOSU提供商NAI"

  • "热点20_H2QPOSU提供商NAI_NAI列表"

  • "热点20_H2QP条款和条件"

  • "热点20_H2QP广域网指标"

  • "热点20_HSP配置文件"

  • "热点20_图标"

  • "热点20_图标_图标列表"

  • "热点20_QoS映射"

  • "热点20_QoS映射_DSCP例外"

  • "热点20_QoS映射_DSCP范围"

  • "ICAP_配置文件"

  • "ICAP_配置文件_ICAP头部"

  • "ICAP_配置文件_响应修改转发规则"

  • "ICAP_配置文件_响应修改转发规则_头部组"

  • "ICAP_服务器"

  • "IPS_基线_传感器"

  • "IPS_基线_传感器_条目"

  • "IPS_基线_传感器_条目_豁免IP"

  • "IPS_基线_传感器_过滤器"

  • "IPS_基线_传感器_覆盖"

  • "IPS_基线_传感器_覆盖_豁免IP"

  • "IPS_自定义"

  • "IPS_传感器"

  • "IPS_传感器_条目"

  • "IPS_传感器_条目_豁免IP"

  • "IPS_传感器_过滤器"

  • "IPS_传感器_覆盖"

  • "IPS_传感器_覆盖_豁免IP"

  • "日志_自定义字段"

  • "日志_NPU服务器_服务器组"

  • "日志_NPU服务器_服务器信息"

  • "MPSK配置文件"

  • "MPSK配置文件_MPSK组"

  • "MPSK配置文件_MPSK组_MPSK密钥"

  • "NAC配置文件"

  • "包_认证_规则"

  • "包_中心_DNAT"

  • "包_中心_DNAT6"

  • "包_防火墙_ACL"

  • "包_防火墙_ACL6"

  • "包_防火墙_中心SNAT映射"

  • "包_防火墙_合并_策略"

  • "包_防火墙_DoS策略"

  • "包_防火墙_DoS策略6"

  • "包_防火墙_DoS策略6_异常"

  • "包_防火墙_DoS策略_异常"

  • "包_防火墙_显式代理策略"

  • "包_防火墙_显式代理策略_基于身份的策略"

  • "包_防火墙_超大规模策略"

  • "包_防火墙_超大规模策略46"

  • "包_防火墙_超大规模策略6"

  • "包_防火墙_超大规模策略64"

  • "包_防火墙_接口策略"

  • "包_防火墙_接口策略6"

  • "包_防火墙_本地入站策略"

  • "包_防火墙_本地入站策略6"

  • "包_防火墙_多播策略"

  • "包_防火墙_多播策略6"

  • "包_防火墙_策略"

  • "包_防火墙_策略46"

  • "包_防火墙_策略6"

  • "包_防火墙_策略64"

  • "包_防火墙_策略_VPN目标节点"

  • "包_防火墙_策略_VPN源节点"

  • "包_防火墙_代理策略"

  • "包_防火墙_安全策略"

  • "包_防火墙_整形策略"

  • "包_页脚_合并_策略"

  • "包_页脚_策略"

  • "包_页脚_策略6"

  • "包_页脚_策略6_基于身份的策略6"

  • "包_页脚_策略_基于身份的策略"

  • "包_页脚_整形策略"

  • "包_头部_合并_策略"

  • "包_头部_策略"

  • "包_头部_策略6"

  • "包_头部_策略6_基于身份的策略6"

  • "包_头部_策略_基于身份的策略"

  • "包_头部_整形策略"

  • "包_用户_NAC策略"

  • "包_视频过滤器_YouTube密钥"

  • "PM_配置_P块_防火墙_合并_策略"

  • "PM_配置_P块_防火墙_策略"

  • "PM_配置_P块_防火墙_策略6"

  • "PM_配置_P块_防火墙_代理策略"

  • "PM_配置_P块_防火墙_安全策略"

  • "QoS配置文件"

  • "区域"

  • "路由器_访问列表"

  • "路由器_访问列表6"

  • "路由器_访问列表6_规则"

  • "路由器_访问列表_规则"

  • "路由器_AS路径列表"

  • "路由器_AS路径列表_规则"

  • "路由器_社区列表"

  • "路由器_社区列表_规则"

  • "路由器_前缀列表"

  • "路由器_前缀列表6"

  • "路由器_前缀列表6_规则"

  • "路由器_前缀列表_规则"

  • "路由器_路由图"

  • "路由器_路由图_规则"

  • "SCTP过滤器_配置文件"

  • "SCTP过滤器_配置文件_PPID过滤器"

  • "垃圾邮件过滤器_黑白名单"

  • "垃圾邮件过滤器_黑白名单_条目"

  • "垃圾邮件过滤器_不良词语"

  • "垃圾邮件过滤器_不良词语_条目"

  • "垃圾邮件过滤器_DNSBL"

  • "垃圾邮件过滤器_DNSBL_条目"

  • "垃圾邮件过滤器_IP信任"

  • "垃圾邮件过滤器_IP信任_条目"

  • "垃圾邮件过滤器_M头部"

  • "垃圾邮件过滤器_M头部_条目"

  • "垃圾邮件过滤器_配置文件"

  • "SSH过滤器_配置文件"

  • "SSH过滤器_配置文件_文件过滤器条目"

  • "SSH过滤器_配置文件_Shell命令"

  • "交换机控制器_ACL_组"

  • "交换机控制器_ACL_入口"

  • "交换机控制器_自定义命令"

  • "交换机控制器_DSL_策略"

  • "交换机控制器_动态端口策略"

  • "交换机控制器_动态端口策略_策略"

  • "交换机控制器_FortiLink设置"

  • "交换机控制器_LLDP配置文件"

  • "交换机控制器_LLDP配置文件_自定义TLV"

  • "交换机控制器_LLDP配置文件_MED位置服务"

  • "交换机控制器_LLDP配置文件_MED网络策略"

  • "交换机控制器_MAC策略"

  • "交换机控制器_托管交换机"

  • "交换机控制器_托管交换机_自定义命令"

  • "交换机控制器_托管交换机_DHCP侦听静态客户端"

  • "交换机控制器_托管交换机_IP源保护"

  • "交换机控制器_托管交换机_IP源保护_绑定条目"

  • "交换机控制器_托管交换机_端口"

  • "交换机控制器_托管交换机_端口_DHCP侦听选项82覆盖"

  • "交换机控制器_托管交换机_远程日志"

  • "交换机控制器_托管交换机_路由卸载路由器"

  • "交换机控制器_托管交换机_SNMP社区"

  • "交换机控制器_托管交换机_SNMP社区_主机"

  • "交换机控制器_托管交换机_SNMP用户"

  • "交换机控制器_托管交换机_VLAN"

  • "交换机控制器_PTP_配置文件"

  • "交换机控制器_QoS_点1P映射"

  • "交换机控制器_QoS_IP DSCP映射"

  • "交换机控制器_QoS_IP DSCP映射_映射"

  • "交换机控制器_QoS_QoS策略"

  • "交换机控制器_QoS_队列策略"

  • "交换机控制器_QoS_队列策略_CoS队列"

  • "交换机控制器_安全策略_8021x"

  • "交换机控制器_安全策略_强制门户"

  • "交换机控制器_交换机接口标签"

  • "交换机控制器_流量策略"

  • "交换机控制器_VLAN策略"

  • "系统_自定义语言"

  • "系统_DHCP_服务器"

  • "系统_DHCP_服务器_排除范围"

  • "系统_DHCP_服务器_IP范围"

  • "系统_DHCP_服务器_选项"

  • "系统_DHCP_服务器_保留地址"

  • "系统_外部资源"

  • "系统_地理IP国家"

  • "系统_地理IP覆盖"

  • "系统_地理IP覆盖_IPv6范围"

  • "系统_地理IP覆盖_IP范围"

  • "系统_元数据"

  • "系统_元数据_系统元数据字段"

  • "系统_NPU_DSW DTS配置文件"

  • "系统_NPU_DSW队列DTS配置文件"

  • "系统_NPU_NP队列_以太网类型"

  • "系统_NPU_NP队列_IP协议"

  • "系统_NPU_NP队列_IP服务"

  • "系统_NPU_NP队列_配置文件"

  • "系统_NPU_NP队列_调度程序"

  • "系统_NPU_NPUTCAM"

  • "系统_NPU_端口CPU映射"

  • "系统_NPU_端口NPU映射"

  • "系统_NPU_TCP超时配置文件"

  • "系统_NPU_UDP超时配置文件"

  • "系统_对象标签"

  • "系统_对象标记"

  • "系统_替换消息组"

  • "系统_替换消息组_管理员"

  • "系统_替换消息组_警报邮件"

  • "系统_替换消息组_身份验证"

  • "系统_替换消息组_自动化"

  • "系统_替换消息组_自定义消息"

  • "系统_替换消息组_设备检测门户"

  • "系统_替换消息组_EC"

  • "系统_替换消息组_FortiGuard WF"

  • "系统_替换消息组_FTP"

  • "系统_替换消息组_HTTP"

  • "系统_替换消息组_ICAP"

  • "系统_替换消息组_邮件"

  • "系统_替换消息组_MM1"

  • "系统_替换消息组_MM3"

  • "系统_替换消息组_MM4"

  • "系统_替换消息组_MM7"

  • "系统_替换消息组_MMS"

  • "系统_替换消息组_NAC隔离"

  • "系统_替换消息组_NNTP"

  • "系统_替换消息组_垃圾邮件"

  • "系统_替换消息组_SSLVPN"

  • "系统_替换消息组_流量配额"

  • "系统_替换消息组_UTM"

  • "系统_替换消息组_Web代理"

  • "系统_替换消息图像"

  • "系统_SDN连接器"

  • "系统_SDN连接器_隔间列表"

  • "系统_SDN连接器_外部帐户列表"

  • "系统_SDN连接器_外部IP"

  • "系统_SDN连接器_转发规则"

  • "系统_SDN连接器_GCP项目列表"

  • "系统_SDN连接器_网卡"

  • "系统_SDN连接器_网卡_IP"

  • "系统_SDN连接器_OCI区域列表"

  • "系统_SDN连接器_路由"

  • "系统_SDN连接器_路由表"

  • "系统_SDN连接器_路由表_路由"

  • "系统_SDN代理"

  • "系统_短信服务器"

  • "系统_虚拟线对"

  • "模板"

  • "模板组"

  • "用户_AD组"

  • "用户_证书"

  • "用户_ClearPass"

  • "用户_连接器"

  • "用户_设备"

  • "用户_设备_动态映射"

  • "用户_设备_标记"

  • "用户_设备访问列表"

  • "用户_设备访问列表_设备列表"

  • "用户_设备类别"

  • "用户_设备组"

  • "user_devicegroup_dynamicmapping"

  • "user_devicegroup_tagging"

  • "user_domaincontroller"

  • "user_domaincontroller_extraserver"

  • "user_exchange"

  • "user_externalidentityprovider"

  • "user_flexvm"

  • "user_fortitoken"

  • "user_fsso"

  • "user_fsso_dynamicmapping"

  • "user_fssopolling"

  • "user_fssopolling_adgrp"

  • "user_group"

  • "user_group_dynamicmapping"

  • "user_group_dynamicmapping_guest"

  • "user_group_dynamicmapping_match"

  • "user_group_guest"

  • "user_group_match"

  • "user_json"

  • "user_krbkeytab"

  • "user_ldap"

  • "user_ldap_dynamicmapping"

  • "user_local"

  • "user_nsx"

  • "user_nsx_service"

  • "user_passwordpolicy"

  • "user_peer"

  • "user_peergrp"

  • "user_pop3"

  • "user_pxgrid"

  • "user_radius"

  • "user_radius_accountingserver"

  • "user_radius_dynamicmapping"

  • "user_radius_dynamicmapping_accountingserver"

  • "user_saml"

  • "user_saml_dynamicmapping"

  • "user_securityexemptlist"

  • "user_securityexemptlist_rule"

  • "user_tacacs"

  • "user_tacacs_dynamicmapping"

  • "user_vcenter"

  • "user_vcenter_rule"

  • "utmprofile"

  • "vap"

  • "vap_dynamicmapping"

  • "vap_macfilterlist"

  • "vap_mpskkey"

  • "vap_vlanname"

  • "vap_vlanpool"

  • "vapgroup"

  • "videofilter_keyword"

  • "videofilter_keyword_word"

  • "videofilter_profile"

  • "videofilter_profile_filters"

  • "videofilter_profile_fortiguardcategory_filters"

  • "videofilter_youtubechannelfilter"

  • "videofilter_youtubechannelfilter_entries"

  • "videofilter_youtubekey"

  • "virtualpatch_profile"

  • "virtualpatch_profile_exemption"

  • "voip_profile"

  • "vpn_certificate_ca"

  • "vpn_certificate_ocspserver"

  • "vpn_certificate_remote"

  • "vpn_ipsec_fec"

  • "vpn_ipsec_fec_mappings"

  • "vpn_ssl_settings_authenticationrule"

  • "vpnmgr_node"

  • "vpnmgr_node_iprange"

  • "vpnmgr_node_ipv4excluderange"

  • "vpnmgr_node_protectedsubnet"

  • "vpnmgr_node_summaryaddr"

  • "vpnmgr_vpntable"

  • "vpnsslweb_hostchecksoftware"

  • "vpnsslweb_hostchecksoftware_checkitemlist"

  • "vpnsslweb_portal"

  • "vpnsslweb_portal_bookmarkgroup"

  • "vpnsslweb_portal_bookmarkgroup_bookmarks"

  • "vpnsslweb_portal_bookmarkgroup_bookmarks_formdata"

  • "vpnsslweb_portal_landingpage_formdata"

  • "vpnsslweb_portal_macaddrcheckrule"

  • "vpnsslweb_portal_splitdns"

  • "vpnsslweb_realm"

  • "vpnsslweb_virtualdesktopapplist"

  • "vpnsslweb_virtualdesktopapplist_apps"

  • "waf_mainclass"

  • "waf_profile"

  • "waf_profile_constraint_exception"

  • "waf_profile_method_methodpolicy"

  • "waf_profile_signature_customsignature"

  • "waf_profile_urlaccess"

  • "waf_profile_urlaccess_accesspattern"

  • "waf_signature"

  • "waf_subclass"

  • "wagprofile"

  • "wanopt_authgroup"

  • "wanopt_peer"

  • "wanopt_profile"

  • "wanprof_system_sdwan_duplication"

  • "wanprof_system_sdwan_healthcheck"

  • "wanprof_system_sdwan_healthcheck_sla"

  • "wanprof_system_sdwan_members"

  • "wanprof_system_sdwan_neighbor"

  • "wanprof_system_sdwan_service"

  • "wanprof_system_sdwan_service_sla"

  • "wanprof_system_sdwan_zone"

  • "wanprof_system_virtualwanlink_healthcheck"

  • "wanprof_system_virtualwanlink_healthcheck_sla"

  • "wanprof_system_virtualwanlink_members"

  • "wanprof_system_virtualwanlink_neighbor"

  • "wanprof_system_virtualwanlink_service"

  • "wanprof_system_virtualwanlink_service_sla"

  • "webfilter_categories"

  • "webfilter_content"

  • "webfilter_content_entries"

  • "webfilter_contentheader"

  • "webfilter_contentheader_entries"

  • "webfilter_ftgdlocalcat"

  • "webfilter_ftgdlocalrating"

  • "webfilter_profile"

  • "webfilter_profile_antiphish_custompatterns"

  • "webfilter_profile_antiphish_inspectionentries"

  • "webfilter_profile_filefilter_entries"

  • "webfilter_profile_ftgdwf_filters"

  • "webfilter_profile_ftgdwf_quota"

  • "webfilter_profile_youtubechannelfilter"

  • "webfilter_urlfilter"

  • "webfilter_urlfilter_entries"

  • "webproxy_forwardserver"

  • "webproxy_forwardservergroup"

  • "webproxy_forwardservergroup_serverlist"

  • "webproxy_profile"

  • "webproxy_profile_headers"

  • "webproxy_wisp"

  • "widsprofile"

  • "wireless_accesscontrollist"

  • "wireless_accesscontrollist_layer3ipv4rules"

  • "wireless_accesscontrollist_layer3ipv6rules"

  • "wireless_address"

  • "wireless_addrgrp"

  • "wireless_ssidpolicy"

  • "wireless_syslogprofile"

  • "wtpprofile"

  • "wtpprofile_denymaclist"

  • "wtpprofile_splittunnelingacl"

self

字典 / 必需

每个选择器的参数。

target

字典 / 必需

要覆盖的目标对象的属性。

enable_log

boolean

启用/禁用任务的日志记录。

选项

  • false ← (默认)

  • true

forticloud_access_token

字符串

FortiCloud托管API用户的访问令牌,此选项在FortiManager 6.4.0及更高版本中可用。

rc_failed

list / elements=integer

将覆盖失败条件的 rc 代码列表。

rc_succeeded

list / elements=integer

将覆盖成功条件的 rc 代码列表。

workspace_locking_adom

字符串

在工作区模式下运行的 FortiManager 要锁定的 ADOM,该值可以是 global 和其他包括 root。

workspace_locking_timeout

integer

等待其他用户释放工作区锁定的最大时间(秒)。

默认: 300

备注

注意

  • 此 FortiManager 模块支持在工作区锁定模式下运行,顶层参数 workspace_locking_adom 和 workspace_locking_timeout 有助于完成此工作。

  • 通常,当返回非零 rc 时,运行一个模块可能会失败。您还可以使用参数 rc_failed 和 rc_succeeded 覆盖失败或成功的条件。

示例

- name: Clone an object
  hosts: fortimanagers
  connection: httpapi
  vars:
    ansible_httpapi_use_ssl: true
    ansible_httpapi_validate_certs: false
    ansible_httpapi_port: 443
  tasks:
    - name: Clone a vip object using fmgr_clone module.
      fortinet.fortimanager.fmgr_clone:
        clone:
          selector: "firewall_vip"
          self:
            adom: "root"
            vip: "ansible-test-vip_first"
          target:
            name: "ansible-test-vip_fourth"

返回值

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

描述

meta

dictionary

请求的结果。

返回: 始终

request_url

字符串

请求的完整 URL。

返回: 始终

示例: "/sys/login/user"

response_code

integer

API 请求的状态。

返回: 始终

示例: 0

response_data

list / elements=string

API 响应。

返回: 始终

response_message

字符串

API 响应的描述性消息。

返回: 始终

示例: "OK."

system_information

dictionary

目标系统的信息。

返回: 始终

rc

integer

请求的状态。

返回: 始终

示例: 0

version_check_warning

list / elements=string

如果 playbook 中使用的参数不受当前 FortiManager 版本支持,则会发出警告。

返回: complex

作者

  • Xinwei Du (@dux-fortinet)

  • Xing Li (@lix-fortinet)

  • Jie Xue (@JieX19)

  • Link Zheng (@chillancezen)

  • Frank Shen (@fshen01)

  • Hongbin Lu (@fgtdev-hblu)