Ansible 3 移植指南

Ansible 3 基于 Ansible-Base 2.10,它与 Ansible 2.10 是相同的重大版本。因此,本移植指南中没有关于 ansible-base 的章节。如果您是从 Ansible 2.9 升级,请在继续阅读 Ansible 3 移植指南之前,先查阅 Ansible 2.10 移植指南。

我们建议您阅读此页面以及 Ansible 3 更新日志,以了解您可能需要进行的更新。

v3.4.0 移植指南

已知问题

dellemc.openmanage

  • idrac_user - 问题 (192043) 模块可能会报错,提示消息为 unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress。请等待作业完成并再次运行任务。

  • ome_configuration_compliance_info - 问题 (195592) 模块可能会报错,提示消息为 unable to process the request because an error occurred。如果问题仍然存在,请向系统管理员报告。

  • ome_smart_fabric - 问题 (185322) OpenManage Enterprise Modular 仅支持三种设计类型,但是当设计类型不受支持时,该模块仍然会成功创建 Fabric。

  • ome_smart_fabric_uplink - 问题 (186024) ome_smart_fabric_uplink 模块不允许创建多个同名上行链路,即使 OpenManage Enterprise Modular 支持此功能。如果使用与现有上行链路相同的名称创建上行链路,则会修改现有上行链路。

主要变更

Ansible-base

  • ansible-test - 现在,当使用 Python 2.6 时,使用 centos6default 测试容器运行的测试将使用 PyPI 代理容器来访问 PyPI。这允许在 Python 2.6 下运行的测试继续正常工作,即使 PyPI 正在停止对不支持 SNI 的客户端的支持。

community.postgresql

netapp.ontap

  • na_ontap_autosupport - 向模块添加了 REST 支持。

已弃用功能

community.aws

  • ec2_vpc_endpoint_info - query 选项已被弃用,将在 2022-12-01 之后删除 (https://github.com/ansible-collections/community.aws/pull/346)。ec2_vpc_endpoint_info 现在默认为列出有关端点的信息。搜索有关可用服务的信息的功能已移至专用模块 ec2_vpc_endpoint_service_info

community.docker

v3.3.0 移植指南

主要变更

community.mysql

已弃用功能

community.vmware

f5networks.f5_modules

  • 正在弃用对低于 3.5 的 Python 版本支持

v3.2.0 移植指南

已知问题

dellemc.openmanage

  • idrac_user - 问题 (192043) 模块可能会报错,提示消息为 unable to perform the import or export operation because there are pending attribute changes or a configuration job is in progress。请等待作业完成并再次运行任务。

  • ome_configuration_compliance_info - 问题 (195592) 模块可能会报错,提示消息为 unable to process the request because an error occurred。如果问题仍然存在,请向系统管理员报告。

  • ome_smart_fabric - 问题 (185322) OpenManage Enterprise Modular 仅支持三种设计类型,但是当设计类型不受支持时,该模块仍然会成功创建 Fabric。

  • ome_smart_fabric_uplink - 问题 (186024) ome_smart_fabric_uplink 模块不允许创建多个同名上行链路,即使 OpenManage Enterprise Modular 支持此功能。如果使用与现有上行链路相同的名称创建上行链路,则会修改现有上行链路。

重大更改

community.docker

  • docker_swarm - 如果指定了 join_token,则返回值中具有相同值的加入令牌将替换为 VALUE_SPECIFIED_IN_NO_LOG_PARAMETER。请确保当使用指定的 join_token 调用模块时,不要盲目使用此模块返回值中的加入令牌!此重大更改出现在次要版本中,因为它对于修复安全问题是必要的 (https://github.com/ansible-collections/community.docker/pull/103)。

已弃用功能

community.crypto

  • acme module_utils - acme module_utils (ansible_collections.community.crypto.plugins.module_utils.acme) 已被弃用,将在 community.crypto 2.0.0 中删除。请改用 acme 包中的新 Python 模块 (ansible_collections.community.crypto.plugins.module_utils.acme.xxx) (https://github.com/ansible-collections/community.crypto/pull/184)。

v3.1.0 移植指南

已知问题

dellemc.openmanage

  • ome_smart_fabric - 问题 (185322) OpenManage Enterprise Modular 仅支持三种设计类型,但是当设计类型不受支持时,该模块仍然会成功创建 Fabric。

  • ome_smart_fabric_uplink - 问题 (186024) ome_smart_fabric_uplink 模块不允许创建多个同名上行链路,即使 OpenManage Enterprise Modular 支持此功能。如果使用与现有上行链路相同的名称创建上行链路,则会修改现有上行链路。

主要变更

community.grafana

  • 在 grafana_teams 和 grafana_folder 模块中引入“skip_version_check”参数 (#147)

community.mysql

已移除的功能

f5networks.f5_modules

已弃用的功能

cloudscale_ch.cloud

  • volume 模块中 servers 参数的别名 server_uuidsserver_uuid 将在 3.0.0 版本中移除。

community.aws

community.crypto

community.general

v3.0.0 的移植指南

已知问题

dellemc.openmanage

  • 问题 1(186024):ome_smart_fabric_uplink 模块不允许创建多个同名上行链路,即使 OpenManage Enterprise Modular 支持此功能。如果使用与现有上行链路相同的名称创建上行链路,则会修改现有的上行链路。

  • 问题 2(187956):如果提供了无效的 job_id,idrac_lifecycle_controller_job_status_info 将返回错误消息。此错误消息不包含有关无效 job_id 的确切问题的信息。

  • 问题 3(188267):在更新 iDRAC 固件时,idrac_firmware 模块会在固件更新作业完成之前完成执行。任务输出中会显示错误的消息,提示“DRAC WSMAN 端点返回 HTTP 代码 ‘400’,原因 ‘Bad Request’”。如果目标 iDRAC 固件版本低于 3.30.30.30,则可能会出现此问题

重大更改

Ansible-base

  • ansible-galaxy login 命令已被移除(请参阅 issue 71560

ansible.utils

  • 如果在您的集合中添加了自定义子插件,请从旧位置 plugins/<子插件名称> 移动到新位置 plugins/sub_plugins/<子插件名称>,并根据需要更新导入

  • 将子插件 cli_parsers、fact_diff 和 validate 移动到 plugins/sub_plugins 文件夹

  • cli_parsers 子插件文件夹名称已更改为 cli_parse 以具有一致的命名约定,即所有 cli_parse 子插件现在都位于 plugins/sub_plugins/cli_parse 文件夹中

cloudscale_ch.cloud

  • floating_ip - 为分配新的浮动 IP,需要 name

community.general

  • 如果您使用 Ansible 2.9 和此集合中的 Google 云插件或模块,则当尝试使用 FQCN(如 community.general.gce_img)使用 Google 云内容时,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN(对于前面的示例,为 community.google.gce_img),并确保已安装 community.google

    如果您使用 ansible-base 2.10 或更新版本,并且未安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则如果使用任何 Google 云插件或模块,则需要确保还安装了 community.googlegoogle.cloud 集合。虽然 ansible-base 2.10 或更新版本可以使用 community.general 2.0.0 添加的重定向,但必须安装它们指向的集合(例如 community.google)才能使它们工作。

  • 如果您使用 Ansible 2.9 和此集合中的 Kubevirt 插件或模块,则当尝试使用 FQCN(如 community.general.kubevirt_vm)使用 Kubevirt 内容时,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN(对于前面的示例,为 community.kubevirt.kubevirt_vm),并确保已安装 community.kubevirt

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.kubevirt 集合(如果您正在使用任何 Kubevirt 插件或模块)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合(例如 community.google)必须安装才能正常工作。

  • 如果您使用 Ansible 2.9 以及此集合中的 docker 插件或模块,当尝试通过 FQCN 使用 docker 内容时,例如 community.general.docker_container,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色,以使用新的 FQCN(对于之前的示例,为 community.docker.docker_container),并确保您已安装 community.docker

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.docker(如果您正在使用任何 docker 插件或模块)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.docker) 必须安装才能正常工作。

  • 如果您使用 Ansible 2.9 以及此集合中的 hashi_vault 查找插件,当尝试通过 FQCN 使用 Hashi Vault 内容时,例如 community.general.hashi_vault,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的清单、变量文件、playbook 和角色,以使用新的 FQCN (community.hashi_vault.hashi_vault),并确保您已安装 community.hashi_vault

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.hashi_vault(如果您正在使用 hashi_vault 插件)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.hashi_vault) 必须安装才能正常工作。

  • 如果您使用 Ansible 2.9 以及此集合中的 hetzner 模块,当尝试通过 FQCN 使用 hetzner 内容时,例如 community.general.hetzner_firewall,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色,以使用新的 FQCN(对于之前的示例,为 community.hrobot.firewall),并确保您已安装 community.hrobot

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.hrobot(如果您正在使用任何 hetzner 模块)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.hrobot) 必须安装才能正常工作。

  • 如果您使用 Ansible 2.9 以及此集合中的 oc 连接插件,当尝试通过 FQCN 使用 oc 内容时,例如 community.general.oc,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的清单、变量文件、playbook 和角色,以使用新的 FQCN (community.okd.oc),并确保您已安装 community.okd

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.okd(如果您正在使用 oc 插件)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.okd) 必须安装才能正常工作。

  • 如果您使用 Ansible 2.9 以及此集合中的 postgresql 模块,当尝试通过 FQCN 使用 postgresql 内容时,例如 community.general.postgresql_info,community.general 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色,以使用新的 FQCN(对于之前的示例,为 community.postgresql.postgresql_info),并确保您已安装 community.postgresql

    如果您使用 ansible-base 2.10 或更高版本,但没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则需要确保同时安装 community.postgresql(如果您正在使用任何 postgresql 模块)。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.postgresql) 必须安装才能正常工作。

  • Google 云 inventory 脚本 gce.py 已迁移到 community.google 集合。请安装 community.google 集合以继续使用它。

  • archive - 当 remove 参数为 true 时,删除路径文件夹本身 (https://github.com/ansible-collections/community.general/issues/1041)。

  • log_plays callback - 将缺失的信息添加到回调插件生成的日志中。这会更改日志消息的格式 (https://github.com/ansible-collections/community.general/pull/442)。

  • passwordstore 查找插件 - 现在尽可能将密码存储条目解析为 YAML,跳过第一行(按照惯例,第一行只包含密码,不包含其他内容)。如果无法解析为 YAML,则将使用旧的 key: value 解析器来处理该条目。如果 YAML 格式的代码以非 YAML 解释的方式解析,则可能会破坏向后兼容性,例如 foo: [bar, baz],在新版本中将成为包含两个元素的列表,但在旧版本中将成为字符串 '[bar, baz]' (https://github.com/ansible-collections/community.general/issues/1673)。

  • pkgng - 使用 state: absent 传递 name: * 将不再从系统中删除所有已安装的软件包。现在它是一个空操作。 (https://github.com/ansible-collections/community.general/pull/569)。

  • pkgng - 使用 state: lateststate: present 传递 name: * 将不再从配置的软件包存储库中安装每个软件包。相反,name: *, state: latest 将升级所有已安装的软件包,而 name: *, state: present 是一个空操作。 (https://github.com/ansible-collections/community.general/pull/569)。

  • proxmox_kvm - 识别与 state=absent 结合使用的 force=yes 以强制删除正在运行的 VM (https://github.com/ansible-collections/community.general/pull/849)。

  • utm_proxy_auth_profile - frontend_cookie_secret 返回值现在包含一个占位符字符串,而不是模块的 frontend_cookie_secret 参数 (https://github.com/ansible-collections/community.general/pull/1736)。

community.hashi_vault

community.hrobot

community.network

  • 如果您使用 Ansible 2.9 以及此集合中的 FortiOS 模块,当尝试通过 FQCN 使用 FortiOS 内容时,例如 community.network.fmgr_device,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色,以使用新的 FQCN(对于之前的示例,为 community.fortios.fmgr_device),并确保您已安装 community.fortios

    如果您使用 ansible-base 2.10 或更新版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用任何 FortiOS 模块,您还需要确保同时安装 community.fortios。虽然 ansible-base 2.10 或更新版本可以使用 community.network 2.0.0 添加的重定向,但它们指向的集合 (community.fortios) 必须安装才能工作。

  • 如果您使用 Ansible 2.9 和此集合中的 cp_publish 模块,当尝试使用 FQCN(即 community.network.cp_publish)使用该模块时,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN (check_point.mgmt.cp_mgmt_publish) 并确保您已安装 check_point.mgmt。如果您使用 ansible-base 2.10 或更新版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用 cp_publish 模块,您还需要确保同时安装 check_point.mgmt。虽然 ansible-base 2.10 或更新版本可以使用 community.network 2.0.0 添加的重定向,但它们指向的集合 (check_point.mgmt) 必须安装才能工作。

  • 如果您使用 Ansible 2.9 和此集合中的 fortimanager httpapi 插件,当尝试通过 FQCN (community.network.fortimanager) 使用它时,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN fortinet.fortimanager.fortimanager 并确保您已安装 fortinet.fortimanager

    如果您使用 ansible-base 2.10 或更新版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用 fortimanager httpapi 插件,您还需要确保同时安装 fortinet.fortimanager。虽然 ansible-base 2.10 或更新版本可以使用 community.network 2.0.0 添加的重定向,但它们指向的集合 (fortinet.fortimanager) 必须安装才能工作。

  • 如果您使用 Ansible 2.9 和此集合中的 nso 模块,当尝试使用 FQCN(如 community.network.nso_config)使用 nso 内容时,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN(对于之前的示例,为 cisco.nso.nso_config),并确保您已安装 cisco.nso

    如果您使用 ansible-base 2.10 或更新版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用任何 nso 模块,您还需要确保同时安装 cisco.nso。虽然 ansible-base 2.10 或更新版本可以使用 community.network 2.0.0 添加的重定向,但它们指向的集合 (cisco.nso) 必须安装才能工作。

  • 如果您使用 Ansible 2.9 和此集合中的 routeros 插件或模块,当尝试使用 FQCN(如 community.network.routeros_command)使用 routeros 内容时,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN(对于之前的示例,为 community.routeros.command),并确保您已安装 community.routeros

    如果您使用 ansible-base 2.10 或更新版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用任何 routeros 插件或模块,您还需要确保同时安装 community.routeros。虽然 ansible-base 2.10 或更新版本可以使用 community.network 2.0.0 添加的重定向,但它们指向的集合 (community.routeros) 必须安装才能工作。

  • cnos_static_route - 在从 ansible.netcommon 中移除 ipaddress 之前,将 ipaddress 导入从 ansible.netcommon 移动到内置或软件包。如果您在 Python 2.7 上使用此模块,您需要确保已安装 ipaddress 软件包 (https://github.com/ansible-collections/community.network/pull/129)。

dellemc.os10

  • os10_bgp - 将 “subnet” 键更改为列表格式,而不是 “listen” 键下的字典格式,以支持 listen 命令的多个邻居前缀

  • os10_bgp - 将 “vrf” 键更改为列表格式,而不是字典格式,以支持路由器 BGP 中的多个 VRF,并将 “vrf” 键名称更改为 “vrfs”

ngine_io.cloudstack

  • 使用 INI 文件(例如 cloudstack.ini)的身份验证选项已被删除。唯一支持的身份验证选项是使用模块参数并回退到 ENV 变量。

  • 默认区域弃用 - 由于不可靠的 API,多个模块中 zone 参数的默认值已被弃用 (https://github.com/ngine-io/ansible-collection-cloudstack/pull/62)。

主要更改

cisco.aci

  • 在 aci_aaa_user_certificate 模块中,将 certificate_name 更改为 name 以进行查询操作

community.general

  • 对于 community.general 3.0.0,ome_device_infoidrac_firmwareidrac_server_config_profile 模块将移动到 dellemc.openmanage 集合。将插入重定向,以便使用 ansible-base 2.10 或更新版本的用户不必更改任何内容。

    如果您使用 Ansible 2.9 并明确使用此集合中上述提到的 DellEMC 模块,您将需要调整您的 playbook 和角色,以使用以 dellemc.openmanage. 开头的 FQCN,而不是 community.general.。例如,将任务中的 community.general.ome_device_info 替换为 dellemc.openmanage.ome_device_info

    如果您使用 ansible-base 并手动安装了 community.general 并且依赖于上述提到的 DellEMC 模块,则必须确保也安装了 dellemc.openmanage 集合。如果您使用 FQCN,例如 community.general.ome_device_info 而不是 ome_device_info,它将继续工作,但我们仍然建议调整 FQCN。

  • community.general 集合不再依赖于 ansible.netcommon 集合 (https://github.com/ansible-collections/community.general/pull/1561)。

  • community.general 集合不再依赖于 ansible.posix 集合 (https://github.com/ansible-collections/community.general/pull/1157)。

community.kubernetes

community.okd

dellemc.openmanage

  • 删除了现有的已弃用模块。

  • 基于 ansible 指南标准化了十个 iDRAC ansible 模块。

  • 支持 OpenManage Enterprise Modular。

dellemc.os10

  • os10_bgp - 增强了路由器 BGP 关键字对非默认 VRF 的支持,这些 VRF 默认情况下受支持,并添加了关键字来同时支持默认和非默认 VRF。

  • os10_snmp role - 添加了对 SNMP V3 功能(在 community、group、host、engineID 中)的支持。

f5networks.f5_modules

  • 将电话回传 Teem 集成到所有模块中,可以通过设置 F5_TEEM 环境变量或 no_f5_teem 提供程序参数来禁用此功能。

  • 向 bigip_ucs_fetch 模块添加了 async_timeout 参数,以允许自定义模块等待异步接口。

  • 更改 bigip_ucs_fetch 模块,以便在生成 UCS 文件时使用异步接口。

kubernetes.core

netbox.netbox

  • nb_inventory - 添加 dns_name 选项,当 True 且设备具有主 IP 地址时,该选项将 dns_name 添加到主机。(#394)

  • nb_inventory - 将 status 添加为 group_by 选项。(398)

  • nb_inventory - 移动 extracted_primary_ip 以允许 config_contextcustom_field 覆盖。(#377)

  • nb_inventory - 由于 NetBox 2.10 的更改,服务现在是整数列表。(#396)

  • nb_lookup - 允许传入 ID 并使用 .get 而不是 .filter。(#376)

  • nb_lookup - 允许通过 env 找到 api_endpointtoken。(#391)

ovirt.ovirt

servicenow.servicenow

  • 添加新测试(查找无结果,搜索多个)

  • 添加相关测试

  • 添加对 ServiceNOW 表 API display_value exclude_reference_link 和 suppress_pagination_header 的支持

  • 对 pysnow 使用新的 API >=0.6.0

已删除的功能

community.docker

community.general

community.network

  • 所有 FortiOS 模块和插件已从该集合中移除。它们已迁移到 community.fortios 集合。如果您使用 ansible-base 2.10 或更新版本,则已提供重定向功能。

    如果您使用 Ansible 2.9 并安装了此合集,您需要调整 FQCN(community.network.fmgr_devicecommunity.fortios.fmgr_device)并确保安装了 community.fortios 合集。

  • 所有 nso 模块已从此合集中删除。它们已迁移到 cisco.nso 合集。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。

    如果您使用 Ansible 2.9 并安装了此合集,您需要调整 FQCN(community.network.nso_configcisco.nso.nso_config)并确保安装了 cisco.nso 合集。

  • 所有 routeros 模块和插件已从此合集中删除。它们已迁移到 community.routeros 合集。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。

    如果您使用 Ansible 2.9 并安装了此合集,您需要调整 FQCN(community.network.routeros_commandcommunity.routeros.command)并确保安装了 community.routeros 合集。

  • cp_publish 模块已从此合集中删除。它是 check_point.mgmt 合集中的 check_point.mgmt.cp_mgmt_publish 的重复项。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此合集,您需要调整 FQCN(community.network.cp_publishcheck_point.mgmt.cp_mgmt_publish)并确保安装了 check_point.mgmt 合集。

  • fortimanager httpapi 插件已从此合集中删除。它是 fortinet.fortimanager 合集中插件的重复项。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。

    如果您使用 Ansible 2.9 并安装了此合集,您需要调整 FQCN(community.network.fortimanagerfortinet.fortimanager.fortimanager)并确保安装了 fortinet.fortimanager 合集。

  • 已删除对 check_point.mgmt 合集的依赖。如果您依赖于安装 community.network 也会安装 check_point.mgmt,您必须确保显式安装 check_point.mgmt

  • 已删除不推荐使用的 Pluribus Networks 模块 pn_clusterpn_ospfpn_ospfareapn_showpn_trunkpn_vlagpn_vlanpn_vrouterpn_vrouterbgppn_vrouterifpn_vrouterlbifhttps://github.com/ansible-collections/community.network/pull/176)。

  • 已删除不推荐使用的模块 panos_adminpanos_admpwdpanos_cert_gen_sshpanos_checkpanos_commitpanos_dagpanos_dag_tagspanos_importpanos_interfacepanos_licpanos_loadcfgpanos_match_rulepanos_mgtconfigpanos_nat_rulepanos_objectpanos_oppanos_pgpanos_query_rulespanos_restartpanos_sagpanos_security_rulepanos_set。请改用 paloaltonetworks.panos 合集中的模块(https://github.com/ansible-collections/community.network/pull/176)。

  • 已删除以下项重定向到 mellanox.onyx 合集:onyx cliconf 插件、终端插件、module_utils、操作插件、文档片段以及以下模块:onyx_aaaonyx_bfdonyx_bgponyx_buffer_poolonyx_commandonyx_configonyx_factsonyx_igmponyx_igmp_interfaceonyx_igmp_vlanonyx_interfaceonyx_l2_interfaceonyx_l3_interfaceonyx_linkaggonyx_lldponyx_lldp_interfaceonyx_magponyx_mlag_iplonyx_mlag_viponyx_ntponyx_ntp_servers_peersonyx_ospfonyx_pfc_interfaceonyx_protocolonyx_ptp_globalonyx_ptp_interfaceonyx_qosonyx_snmponyx_snmp_hostsonyx_snmp_usersonyx_syslog_filesonyx_syslog_remoteonyx_traffic_classonyx_usernameonyx_vlanonyx_vxlanonyx_wjhhttps://github.com/ansible-collections/community.network/pull/175)。

  • onyx - 所有 onyx 模块和插件已移至 mellanox.onyx 合集。已添加重定向,这些重定向将在 community.network 2.0.0 中删除(https://github.com/ansible-collections/community.network/pull/83)。

f5networks.f5_modules

  • 从 bigip_virtual_address 模块中删除了 arp_state 参数

不推荐使用的功能

cisco.nxos

  • 不推荐使用 nxos_bgpnxos_bgp_neighbor 模块,而推荐使用 nxos_bgp_global 资源模块。

  • 不推荐使用 nxos_interface_ospf,而推荐使用 nxos_ospf_interfaces 资源模块。

  • 不推荐使用 nxos_smu,而推荐使用 nxos_rpm 模块。

  • nxos_ospf_vrf 模块已被 nxos_ospfv2nxos_ospfv3 资源模块取代,不推荐使用。

community.aws

community.docker

community.general

community.hashi_vault

community.network

community.vmware

  • vmware_host_firewall_manager - 在 2.0.0 版本发布后,不允许创建新的规则,其中 allowed_hosts 字典中没有 allowed_ip 条目。

dellemc.openmanage

  • dellemc_get_firmware_inventory 模块已被弃用,并由 idrac_firmware_info 模块替换。

  • dellemc_get_system_inventory 模块已被弃用,并由 idrac_system_info 模块替换。

  • dellemc_change_power_state 模块已被弃用,并由 redfish_powerstate 模块替换。

  • dellemc_configure_bios 模块已被弃用,并由 idrac_bios 模块替换。

  • dellemc_configure_idrac_network 模块已被弃用,并由 idrac_network 模块替换。

  • dellemc_configure_idrac_timezone 模块已被弃用,并由 idrac_timezone_ntp 模块替换。

  • dellemc_configure_idrac_users 模块已被弃用,并由 idrac_user 模块替换。

  • dellemc_delete_lc_job 和 dellemc_delete_lc_job_queue 模块已被弃用,并由 idrac_lifecycle_controller_jobs 模块替换。

  • dellemc_export_lc_logs 模块已被弃用,并由 idrac_lifecycle_controller_logs 模块替换。

  • dellemc_get_lc_job_status 模块已被弃用,并由 idrac_lifecycle_controller_job_status_info 模块替换。

  • dellemc_get_lcstatus 模块已被弃用,并由 idrac_lifecycle_controller_status_info 模块替换。

  • dellemc_idrac_reset 模块已被弃用,并由 idrac_reset 模块替换。

  • dellemc_setup_idrac_syslog 模块已被弃用,并由 idrac_syslog 模块替换。