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) 模块可能会报错,并显示消息
无法执行 导入 或 导出 操作, 因为 存在 待处理的 属性更改 或 正在进行配置作业。请等待作业完成并再次运行该任务。ome_configuration_compliance_info - 问题(195592) 模块可能会报错,并显示消息
无法处理 请求, 因为 发生错误。如果问题仍然存在,请将其报告给系统管理员。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 时,使用
centos6和default测试容器运行的测试将使用 PyPI 代理容器访问 PyPI。这允许在 Python 2.6 下运行的测试继续正常运行,即使 PyPI 正在停止对不具备 SNI 功能的客户端的支持。
community.postgresql
postgresql_query -
as_single_query选项的默认值将在 community.postgresql 2.0.0 中更改为yes(https://github.com/ansible-collections/community.postgresql/issues/85)。
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
docker_* 模块和插件,除了
docker_swarm连接插件以及docker_compose和docker_stack*` 模块 - 目前 ``tls_hostname`` 的默认值 ``localhost``已被弃用。在 community.docker 2.0.0 中,它将改为从docker_host计算 (https://github.com/ansible-collections/community.docker/pull/134)。
v3.3.0 移植指南
主要变更
community.mysql
mysql_user -
REQUIRESSL是community.mysql2.0.0 中tls_requires选项中ssl键的别名,并且在community.mysql3.0.0 中将完全删除对其的支持 (https://github.com/ansible-collections/community.mysql/issues/121)。
已弃用功能
community.vmware
vmware_vmkernel_ip_config - 弃用,赞成使用 vmware_vmkernel (https://github.com/ansible-collections/community.vmware/pull/667)。
f5networks.f5_modules
对低于 3.5 的 Python 版本的支持正在被弃用
v3.2.0 移植指南
已知问题
dellemc.openmanage
idrac_user - 问题(192043) 模块可能会报错,并显示消息
无法执行 导入 或 导出 操作, 因为 存在 待处理的 属性更改 或 正在进行配置作业。请等待作业完成并再次运行该任务。ome_configuration_compliance_info - 问题(195592) 模块可能会报错,并显示消息
无法处理 请求, 因为 发生错误。如果问题仍然存在,请将其报告给系统管理员。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 模块工具 -
acme模块工具 (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
mysql_replication - 模式选项值
getslave,startslave,stopslave,resetslave,resetslaveall` 和 master_use_gtid 选项 ``slave_pos已被弃用(请参阅替代值),并将在community.mysql3.0.0 中移除 (https://github.com/ansible-collections/community.mysql/pull/97)。mysql_replication - 模块返回的消息中的单词
SLAVE将在community.mysql2.0.0 中更改为REPLICA(https://github.com/ansible-collections/community.mysql/issues/98)。
移除的功能
f5networks.f5_modules
移除了 bigip_gtm_pool 和 bigip_gtm_wide_ip 模块的 TMOS v11 支持
移除了 bigip_node 模块中的 quorum 和 monitor_type 参数。请参阅 https://clouddocs.f5.com/products/orchestration/ansible/devel/usage/porting-guides.html 的移植指南部分
移除了 bigip_log_destination 模块中的 syslog_settings 和 pool_settings 参数。请参阅 https://clouddocs.f5.com/products/orchestration/ansible/devel/usage/porting-guides.html 的移植指南部分
已弃用的功能
cloudscale_ch.cloud
卷模块中 servers 参数的别名
server_uuids和server_uuid将在 3.0.0 版本中移除。
community.aws
ec2_eip - 正式弃用
instance_id作为device_id的别名 (https://github.com/ansible-collections/community.aws/pull/349)。ec2_vpc_endpoint - 弃用 policy_file 选项,并建议使用带有查找的 policy (https://github.com/ansible-collections/community.aws/pull/366)。
community.crypto
acme_account_info - 当
retrieve_orders=url_list时,orders将不再在 community.crypto 2.0.0 中返回。请改用order_uris(https://github.com/ansible-collections/community.crypto/pull/178)。
community.general
apt_rpm - 已弃用无效的参数别名
update-cache,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。composer - 已弃用无效的参数别名
working-dir,global-command,prefer-source,prefer-dist,no-dev,no-scripts,no-plugins,optimize-autoloader,classmap-authoritative,apcu-autoloader,ignore-platform-reqs,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。github_deploy_key - 已弃用无效的参数别名
2fa_token,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。grove - 选项
message将在 community.general 4.0.0 中移除。请改用新的选项message_content(https://github.com/ansible-collections/community.general/pull/1929)。homebrew - 已弃用无效的参数别名
update-brew,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。homebrew_cask - 已弃用无效的参数别名
update-brew,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。opkg - 已弃用无效的参数别名
update-cache,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。pacman - 已弃用无效的参数别名
update-cache,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。puppet - 已弃用未记录的参数
show_diff,将在 7.0.0 中移除。( https://github.com/ansible-collections/community.general/pull/1927)。runit - 未使用的参数
dist标记为已弃用 (https://github.com/ansible-collections/community.general/pull/1830)。slackpkg - 已弃用无效的参数别名
update-cache,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。urpmi - 已弃用无效的参数别名
update-cache和no-recommends,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。xbps - 已弃用无效的参数别名
update-cache,将在 5.0.0 中移除 (https://github.com/ansible-collections/community.general/pull/1927)。xfconf - 将输出作为 facts 返回已被弃用,这将在 community.general 4.0.0 中移除。请将任务输出注册到一个变量中并使用它。您现在可以通过使用新的
disable_facts选项来切换到新行为 (https://github.com/ansible-collections/community.general/pull/1747)。
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 -
name是分配新的浮动 IP 所必需的。
community.general
如果您使用 Ansible 2.9 和此集合中的 Google Cloud 插件或模块,则 community.general 2.0.0 会在尝试使用 FQCN 的 Google Cloud 内容(如
community.general.gce_img)时导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCN(之前示例中的community.google.gce_img),并确保您已安装community.google。如果您使用 ansible-base 2.10 或更高版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,则如果您使用任何 Google Cloud 插件或模块,则需要确保同时安装
community.google或google.cloud集合。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合(例如 community.google)必须已安装才能工作。如果您使用 Ansible 2.9 和此集合中的 Kubevirt 插件或模块,当尝试通过 FQCN 使用 Kubevirt 内容(例如
community.general.kubevirt_vm)时,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,那么如果您正在使用任何 Kubevirt 插件或模块,您还需要确保安装
community.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,那么如果您正在使用任何
docker插件或模块,您还需要确保安装community.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 无法使用重定向,您必须手动调整您的 inventory、变量文件、playbook 和角色,以使用新的 FQCN (community.hashi_vault.hashi_vault),并确保您已安装community.hashi_vault。如果您使用 ansible-base 2.10 或更高版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,那么如果您正在使用
hashi_vault插件,您还需要确保安装community.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,那么如果您正在使用任何
hetzner模块,您还需要确保安装community.hrobot。虽然 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 无法使用重定向,您必须手动调整您的 inventory、变量文件、playbook 和角色,以使用新的 FQCN (community.okd.oc),并确保您已安装community.okd。如果您使用 ansible-base 2.10 或更高版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.general,那么如果您正在使用
oc插件,您还需要确保安装community.okd。虽然 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,那么如果您正在使用任何
postgresql模块,您还需要确保安装community.postgresql。虽然 ansible-base 2.10 或更高版本可以使用 community.general 2.0.0 添加的重定向,但它们指向的集合 (community.postgresql) 必须已安装才能正常工作。Google Cloud inventory 脚本
gce.py已迁移到community.google集合。请安装community.google集合以继续使用它。archive - 当
remove参数为 true 时,删除路径文件夹本身 (https://github.com/ansible-collections/community.general/issues/1041)。log_plays 回调 - 将缺少的信息添加到回调插件生成的日志中。这会更改日志消息格式 (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 - 将
name: *与state: absent一起传递将不再从系统中删除所有已安装的软件包。现在它是一个空操作。(https://github.com/ansible-collections/community.general/pull/569)。pkgng - 将
name: *与state: latest或state: present一起传递将不再安装配置的软件包存储库中的每个软件包。相反,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
hashi_vault - 现在最后检查
VAULT_ADDR环境变量中的url参数。有关哪些用例会受到影响的详细信息,请参阅 (https://github.com/ansible-collections/community.hashi_vault/issues/8)。
community.hrobot
firewall - 现在需要 ipaddress 库 (https://github.com/ansible-collections/community.hrobot/pull/2)。
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 和此集合中的
fortimanagerhttpapi 插件,当尝试使用 FQCN (community.network.fortimanager) 调用它时,community.network 2.0.0 会导致错误。由于 Ansible 2.9 无法使用重定向,您必须手动调整您的 playbook 和角色以使用新的 FQCNfortinet.fortimanager.fortimanager,并确保您已安装fortinet.fortimanager。如果您使用 ansible-base 2.10 或更高版本,并且没有安装 Ansible 3.0.0,而是手动安装(和/或升级)了 community.network,那么如果您正在使用
fortimanagerhttpapi 插件,您还需要确保安装了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_info、idrac_firmware和idrac_server_config_profile模块将移动到 dellemc.openmanage 集合。将插入重定向,以便使用 ansible-base 2.10 或更高版本的用户无需进行任何更改。如果您使用 Ansible 2.9 并显式使用此集合中上述提到的 DellEMC 模块,您将需要调整您的 playbook 和角色,以使用以
dellemc.openmanage.而不是community.general.开头的 FQCN,例如,将任务中的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
k8s - 添加对模板参数的支持 (https://github.com/ansible-collections/community.kubernetes/pull/230)。
k8s_* - 添加对保管库 kubeconfig 和 src 的支持 (https://github.com/ansible-collections/community.kubernetes/pull/193)。
community.okd
添加自定义 k8s 模块,更好地集成 Molecule 测试 (https://github.com/ansible-collections/community.okd/pull/7)。
添加下游构建脚本以构建 redhat.openshift (https://github.com/ansible-collections/community.okd/pull/20)。
添加 openshift 连接插件,更新库存插件以使用它 (https://github.com/ansible-collections/community.okd/pull/18)。
添加 openshift_process 模块,用于模板呈现和可选的应用呈现的资源 (https://github.com/ansible-collections/community.okd/pull/44)。
添加 openshift_route 模块,用于从服务创建路由 (https://github.com/ansible-collections/community.okd/pull/40)。
从 community.kubernetes 进行初始内容迁移 (https://github.com/ansible-collections/community.okd/pull/3)。
openshift_auth - 新模块(从 community.kubernetes 中的 k8s_auth 迁移)(https://github.com/ansible-collections/community.okd/pull/33)。
dellemc.openmanage
删除了现有的已弃用模块。
基于 Ansible 指南标准化了十个 iDRAC Ansible 模块。
支持 OpenManage Enterprise Modular。
dellemc.os10
os10_bgp - 增强了非默认 vrf 的路由器 bgp 关键字支持,这支持默认 vrf 以及支持默认和非默认 vrf 的附加关键字
os10_snmp 角色 - 在社区、组、主机、engineID 中添加了对 snmp V3 功能的支持
f5networks.f5_modules
将 phone home Teem 集成到所有模块中,可以通过设置 F5_TEEM 环境变量或 no_f5_teem 提供程序参数来禁用该功能
向 bigip_ucs_fetch 模块添加了 async_timeout 参数,以允许自定义模块等待异步接口
更改 bigip_ucs_fetch 模块,使其在生成 UCS 文件时使用异步接口
kubernetes.core
添加更改日志和片段并记录更改日志过程 (https://github.com/ansible-collections/kubernetes.core/pull/131)。
helm - 用于管理 Helm chart 的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/61)。
helm_info - 用于检索 Helm chart 信息的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/61)。
helm_plugin - 用于管理 Helm 插件的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/154)。
helm_plugin_info - 用于收集有关 Helm 插件信息的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/154)。
helm_repository - 用于管理 Helm 存储库的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/61)。
k8s - 添加对模板参数的支持 (https://github.com/ansible-collections/kubernetes.core/pull/230)。
k8s - 清单源从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s - 查找插件从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s - 模块从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s_* - 添加对保管库 kubeconfig 和 src 的支持 (https://github.com/ansible-collections/kubernetes.core/pull/193)。
k8s_auth - 模块从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s_config_resource_name - 过滤器插件从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s_exec - 用于通过 Kubernetes API 在 pod 上执行命令的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/14)。
k8s_exec - 返回已执行命令的返回码 (https://github.com/ansible-collections/kubernetes.core/pull/158)。
k8s_info - 模块从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s_log - 用于检索 Pod 日志的新模块 (https://github.com/ansible-collections/kubernetes.core/pull/16)。
k8s_scale - 模块从 Ansible 2.9 迁移到 Kubernetes 集合。
k8s_service - 模块从 Ansible 2.9 迁移到 Kubernetes 集合。
kubectl - 连接插件从 Ansible 2.9 迁移到 Kubernetes 集合。
openshift - 清单源从 Ansible 2.9 迁移到 Kubernetes 集合。
netbox.netbox
nb_inventory - 添加
dns_name选项,当True且设备具有主 IP 地址时,将dns_name添加到主机。( #394 )nb_inventory - 添加
status作为group_by选项。(398)nb_inventory - 移动
extracted_primary_ip,以便config_context或custom_field可以覆盖它。( #377 )nb_inventory - 由于 NetBox 2.10 的更改,服务现在是整数列表。( #396 )
nb_lookup - 允许传入 ID 并使用
.get而不是.filter。( #376 )nb_lookup - 允许通过 env 查找
api_endpoint和token。( #391 )
ovirt.ovirt
cluster_upgrade - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/94)。
disaster_recovery - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/134)。
engine_setup - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/69)。
hosted_engine_setup - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/106)。
image_template - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/95)。
infra - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/92)。
manageiq - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/97)。
ovirt_system_option_info - 添加新模块 (https://github.com/oVirt/ovirt-ansible-collection/pull/206)。
repositories - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/96)。
shutdown_env - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/112)。
vm_infra - 迁移角色 (https://github.com/oVirt/ovirt-ansible-collection/pull/93)。
servicenow.servicenow
添加新测试(查找无结果,搜索多个)
添加相关测试
添加对 ServiceNOW 表 api display_value exclude_reference_link 和 suppress_pagination_header 的支持
为 pysnow >=0.6.0 使用新 API
已删除的功能
community.docker
docker_container - 不再返回
ansible_facts(https://github.com/ansible-collections/community.docker/pull/1)。docker_container -
networks_cli_compatible的默认值已更改为true(https://github.com/ansible-collections/community.docker/pull/1)。docker_container - 已删除未使用的选项
trust_image_content(https://github.com/ansible-collections/community.docker/pull/1)。docker_image - 已删除
state=build。 请改用present(https://github.com/ansible-collections/community.docker/pull/1)。docker_image - 已删除
container_limits、dockerfile、http_timeout、nocache、rm、path、buildargs、pull。 请改用build的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_image - 已删除
force选项。 请改用更具体的force_*选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_image -
source选项现在是强制性的 (https://github.com/ansible-collections/community.docker/pull/1)。docker_image - 已删除
use_tls选项。 请改用tls和validate_certs(https://github.com/ansible-collections/community.docker/pull/1)。docker_image -
build.pull选项的默认值已更改为false(https://github.com/ansible-collections/community.docker/pull/1)。docker_image_facts - 此别名不再可用,请改用
docker_image_info(https://github.com/ansible-collections/community.docker/pull/1)。docker_network - 不再返回
ansible_facts(https://github.com/ansible-collections/community.docker/pull/1)。docker_network - 已删除
ipam_options选项。 请改用ipam_config(https://github.com/ansible-collections/community.docker/pull/1)。docker_service - 不再返回
ansible_facts(https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm - 已删除
state=inspect。 请改用docker_swarm_info(https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
constraints选项。 请改用placement.constraints(https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
limit_cpu和limit_memory选项。 请改用limits中的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
log_driver和log_driver_options选项。 请改用logging中的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
reserve_cpu和reserve_memory选项。 请改用reservations中的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
restart_policy、restart_policy_attempts、restart_policy_delay和restart_policy_window选项。 请改用restart_config中的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_swarm_service - 已删除
update_delay、update_parallelism、update_failure_action、update_monitor、update_max_failure_ratio和update_order选项。 请改用update_config中的相应子选项 (https://github.com/ansible-collections/community.docker/pull/1)。docker_volume - 不再返回
ansible_facts(https://github.com/ansible-collections/community.docker/pull/1)。docker_volume -
force选项已被移除。请改用recreate(https://github.com/ansible-collections/community.docker/pull/1)。
community.general
所有 Google 云模块和插件现在都已从此集合迁移出去。它们可以在 community.google 或 google.cloud 集合中找到。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。
如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.gce_img→community.google.gce_img),并确保安装了 community.google 或 google.cloud 集合(视情况而定)。所有 Kubevirt 模块和插件现在都已从 community.general 迁移到 community.kubevirt Ansible 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。
如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.kubevirt_vm→community.kubevirt.kubevirt_vm),并确保安装了 community.kubevirt 集合。所有
docker模块和插件都已从此集合中移除。它们已迁移到 community.docker 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.docker_container→community.docker.docker_container),并确保安装了 community.docker 集合。所有
hetzner模块都已从此集合中移除。它们已迁移到 community.hrobot 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.hetzner_firewall→community.hrobot.firewall),并确保安装了 community.hrobot 集合。所有
postgresql模块都已从此集合中移除。它们已迁移到 community.postgresql 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.postgresql_info→community.postgresql.postgresql_info),并确保安装了 community.postgresql 集合。Google Cloud inventory 脚本
gce.py已迁移到community.google集合。请安装community.google集合以继续使用它。hashi_vault查找插件已从此集合中移除。它已迁移到 community.hashi_vault 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.hashi_vault→community.hashi_vault.hashi_vault),并确保安装了 community.hashi_vault 集合。oc连接插件已从此集合中移除。它已迁移到 community.okd 集合。如果您使用 ansible-base 2.10 或更高版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN(
community.general.oc→community.okd.oc),并确保安装了 community.okd 集合。已弃用的
actionable回调插件已移除。请改用带有display_skipped_hosts = no和display_ok_hosts = no选项的ansible.builtin.default回调插件 (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
foreman模块已移除。请改用 theforeman.foreman 集合中的模块 (https://github.com/ansible-collections/community.general/pull/1347) (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
full_skip回调插件已移除。请改用带有display_skipped_hosts = no选项的ansible.builtin.default回调插件 (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
gcdns_record模块已移除。请改用google.cloud.gcp_dns_resource_record_set(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcdns_zone模块已移除。请改用google.cloud.gcp_dns_managed_zone(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gce模块已移除。请改用google.cloud.gcp_compute_instance(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcp_backend_service模块已移除。请改用google.cloud.gcp_compute_backend_service(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcp_forwarding_rule模块已移除。请改用google.cloud.gcp_compute_forwarding_rule或google.cloud.gcp_compute_global_forwarding_rule(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcp_healthcheck模块已移除。请改用google.cloud.gcp_compute_health_check、google.cloud.gcp_compute_http_health_check或google.cloud.gcp_compute_https_health_check(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcp_target_proxy模块已移除。请改用google.cloud.gcp_compute_target_http_proxy(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcp_url_map模块已移除。请改用google.cloud.gcp_compute_url_map(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
gcspanner模块已移除。请改用google.cloud.gcp_spanner_database和/或google.cloud.gcp_spanner_instance(https://github.com/ansible-collections/community.general/pull/1370)。已弃用的
github_hooks模块已移除。请改用community.general.github_webhook和community.general.github_webhook_info(https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
katello模块已移除。请改用 theforeman.foreman 集合中的模块 (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_aggregate模块已移除。请改用 netapp.ontap.na_ontap_aggregate (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_license模块已移除。请改用 netapp.ontap.na_ontap_license (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_lun模块已移除。请改用 netapp.ontap.na_ontap_lun (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_qtree模块已移除。请改用 netapp.ontap.na_ontap_qtree (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_svm模块已被移除。请改用 netapp.ontap.na_ontap_svm (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_user_role模块已被移除。请改用 netapp.ontap.na_ontap_user_role (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_user模块已被移除。请改用 netapp.ontap.na_ontap_user (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
na_cdot_volume模块已被移除。请改用 netapp.ontap.na_ontap_volume (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
sf_account_manager模块已被移除。请改用 netapp.elementsw.na_elementsw_account (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
sf_check_connections模块已被移除。请改用 netapp.elementsw.na_elementsw_check_connections (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
sf_snapshot_schedule_manager模块已被移除。请改用 netapp.elementsw.na_elementsw_snapshot_schedule (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
sf_volume_access_group_manager模块已被移除。请改用 netapp.elementsw.na_elementsw_access_group (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
sf_volume_manager模块已被移除。请改用 netapp.elementsw.na_elementsw_volume (https://github.com/ansible-collections/community.general/pull/1347)。已弃用的
stderr回调插件已被移除。请改用ansible.builtin.default回调插件,并设置display_failed_stderr = yes选项 (https://github.com/ansible-collections/community.general/pull/1347)。已移除
conjur_variable查找插件到cyberark.conjur.conjur_variable集合的重定向 (https://github.com/ansible-collections/community.general/pull/1346)。已移除
firewalld模块和firewalldmodule_utils 到ansible.posix集合的重定向 (https://github.com/ansible-collections/community.general/pull/1346)。以下项目到
community.digitalocean集合的重定向已被移除:digital_ocean文档片段、digital_oceanmodule_utils,以及以下模块:digital_ocean,digital_ocean_account_facts,digital_ocean_account_info,digital_ocean_block_storage,digital_ocean_certificate,digital_ocean_certificate_facts,digital_ocean_certificate_info,digital_ocean_domain,digital_ocean_domain_facts,digital_ocean_domain_info,digital_ocean_droplet,digital_ocean_firewall_facts,digital_ocean_firewall_info,digital_ocean_floating_ip,digital_ocean_floating_ip_facts,digital_ocean_floating_ip_info,digital_ocean_image_facts,digital_ocean_image_info,digital_ocean_load_balancer_facts,digital_ocean_load_balancer_info,digital_ocean_region_facts,digital_ocean_region_info,digital_ocean_size_facts,digital_ocean_size_info,digital_ocean_snapshot_facts,digital_ocean_snapshot_info,digital_ocean_sshkey,digital_ocean_sshkey_facts,digital_ocean_sshkey_info,digital_ocean_tag,digital_ocean_tag_facts,digital_ocean_tag_info,digital_ocean_volume_facts,digital_ocean_volume_info(https://github.com/ansible-collections/community.general/pull/1346)。以下项目到
community.mysql集合的重定向已被移除:mysql文档片段、mysqlmodule_utils,以及以下模块:mysql_db,mysql_info,mysql_query,mysql_replication,mysql_user,mysql_variables(https://github.com/ansible-collections/community.general/pull/1346)。以下项目到
community.proxysql集合的重定向已被移除:proxysql文档片段,以及以下模块:proxysql_backend_servers,proxysql_global_variables,proxysql_manage_config,proxysql_mysql_users,proxysql_query_rules,proxysql_replication_hostgroups,proxysql_scheduler(https://github.com/ansible-collections/community.general/pull/1346)。以下项目到
infinidat.infinibox集合的重定向已被移除:infinibox文档片段、infiniboxmodule_utils,以及以下模块:infini_export,infini_export_client,infini_fs,infini_host,infini_pool,infini_vol(https://github.com/ansible-collections/community.general/pull/1346)。conjur_variable 查找 - 已移动到
cyberark.conjur集合。重定向功能仍然有效,将在 2.0.0 版本中移除 (https://github.com/ansible-collections/community.general/pull/570)。digital_ocean_* - 所有 DigitalOcean 模块已移动到
community.digitalocean集合。重定向功能仍然有效,将在 2.0.0 版本中移除 (https://github.com/ansible-collections/community.general/pull/622)。infini_* - 所有 infinidat 模块已移动到
infinidat.infinibox集合。重定向功能仍然有效,将在 2.0.0 版本中移除 (https://github.com/ansible-collections/community.general/pull/607)。iptables_state - 不再支持
ANSIBLE_ASYNC_DIR环境变量,请改用async_dirshell 选项 (https://github.com/ansible-collections/community.general/pull/1371)。logicmonitor - 该模块已在 1.0.0 版本中移除,因为它已无人维护,并且该模块使用的 API 已在 2017 年关闭 (https://github.com/ansible-collections/community.general/issues/539, https://github.com/ansible-collections/community.general/pull/541)。
logicmonitor_facts - 该模块已在 1.0.0 版本中移除,因为它已无人维护,并且该模块使用的 API 已在 2017 年关闭 (https://github.com/ansible-collections/community.general/issues/539, https://github.com/ansible-collections/community.general/pull/541)。
memcached 缓存插件 - 不要直接导入
CacheModule。请改用ansible.plugins.loader.cache_loader(https://github.com/ansible-collections/community.general/pull/1371)。mysql_* - 所有 MySQL 模块已移动到
community.mysql集合。重定向功能仍然有效,将在 2.0.0 版本中移除 (https://github.com/ansible-collections/community.general/pull/633)。proxysql_* - 所有 ProxySQL 模块已移动到
community.proxysql集合。重定向功能仍然有效,将在 2.0.0 版本中移除 (https://github.com/ansible-collections/community.general/pull/624)。redis 缓存插件 - 不要直接导入
CacheModule。请改用ansible.plugins.loader.cache_loader(https://github.com/ansible-collections/community.general/pull/1371)。xml - 当
content=attribute时,attribute选项会被忽略 (https://github.com/ansible-collections/community.general/pull/1371)。
community.network
所有 FortiOS 模块和插件都已从此集合中移除。它们已迁移到 community.fortios 集合。如果您使用 ansible-base 2.10 或更新版本,则已提供重定向。
如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN (
community.network.fmgr_device→community.fortios.fmgr_device),并确保安装了 community.fortios 集合。所有
nso模块都已从此集合中移除。它们已迁移到 cisco.nso 集合。如果您使用 ansible-base 2.10 或更新版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN (
community.network.nso_config→cisco.nso.nso_config),并确保安装了 cisco.nso 集合。所有
routeros模块和插件都已从此集合中移除。它们已迁移到 community.routeros 集合。如果您使用 ansible-base 2.10 或更新版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN (
community.network.routeros_command→community.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_publish→check_point.mgmt.cp_mgmt_publish),并确保安装了 check_point.mgmt 集合。fortimanagerhttpapi 插件已从此集合中移除。它是 fortinet.fortimanager 集合中的重复项。如果您使用 ansible-base 2.10 或更新版本,则已提供重定向。如果您使用 Ansible 2.9 并安装了此集合,则需要调整 FQCN (
community.network.fortimanager→fortinet.fortimanager.fortimanager),并确保安装了 fortinet.fortimanager 集合。已移除对
check_point.mgmt集合的依赖。如果您依赖于安装community.network也安装check_point.mgmt,则必须确保显式安装check_point.mgmt。已删除已弃用的 Pluribus Networks 模块
pn_cluster、pn_ospf、pn_ospfarea、pn_show、pn_trunk、pn_vlag、pn_vlan、pn_vrouter、pn_vrouterbgp、pn_vrouterif、pn_vrouterlbif(https://github.com/ansible-collections/community.network/pull/176)。已删除已弃用的模块
panos_admin、panos_admpwd、panos_cert_gen_ssh、panos_check、panos_commit、panos_dag、panos_dag_tags、panos_import、panos_interface、panos_lic、panos_loadcfg、panos_match_rule、panos_mgtconfig、panos_nat_rule、panos_object、panos_op、panos_pg、panos_query_rules、panos_restart、panos_sag、panos_security_rule、panos_set。请改用 paloaltonetworks.panos 集合中的模块 (https://github.com/ansible-collections/community.network/pull/176)。已删除对
mellanox.onyx集合的重定向,适用于:onyxcliconf 插件、终端插件、module_utils、操作插件、文档片段以及以下模块:onyx_aaa、onyx_bfd、onyx_bgp、onyx_buffer_pool、onyx_command、onyx_config、onyx_facts、onyx_igmp、onyx_igmp_interface、onyx_igmp_vlan、onyx_interface、onyx_l2_interface、onyx_l3_interface、onyx_linkagg、onyx_lldp、onyx_lldp_interface、onyx_magp、onyx_mlag_ipl、onyx_mlag_vip、onyx_ntp、onyx_ntp_servers_peers、onyx_ospf、onyx_pfc_interface、onyx_protocol、onyx_ptp_global、onyx_ptp_interface、onyx_qos、onyx_snmp、onyx_snmp_hosts、onyx_snmp_users、onyx_syslog_files、onyx_syslog_remote、onyx_traffic_class、onyx_username、onyx_vlan、onyx_vxlan、onyx_wjh(https://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_bgp 和 nxos_bgp_neighbor 模块,而使用 nxos_bgp_global 资源模块。
已弃用 nxos_interface_ospf,而使用 nxos_ospf_interfaces 资源模块。
已弃用 nxos_smu,而使用 nxos_rpm 模块。
nxos_ospf_vrf 模块已由 nxos_ospfv2 和 nxos_ospfv3 资源模块弃用。
community.aws
ec2_vpc_igw_info - 在 2022-06-22 之后,
convert_tags参数的默认值将从False更改为True,以匹配集合的标准行为 (https://github.com/ansible-collections/community.aws/pull/318)。
community.docker
docker_container - 目前,
published_ports可以包含端口映射以及特殊值all,在这种情况下,端口映射将被忽略。此行为已弃用,将在 community.docker 2.0.0 中删除,届时它将被禁止,或者将以类似于 Docker CLI 工具处理此行为的方式正确实现此行为 (https://github.com/ansible-collections/community.docker/issues/8, https://github.com/ansible-collections/community.docker/pull/60)。
community.general
gluster_heal_info、gluster_peer和gluster_volume模块已迁移到 gluster.gluster 集合。Ansible-base 2.10.1 调整了路由目标,使其指向该集合中的模块,因此我们将在 community.general 3.0.0 中删除这些模块。如果您使用 Ansible 2.9,或在您的剧本和/或角色中使用 FQCNscommunity.general.gluster_*,请将其更新为使用gluster.gluster中的模块。ldap_attr 模块已被弃用,将在以后的版本中删除;请改用 ldap_attrs。
django_manage - 参数
liveserver与不再维护的 Django 第三方模块相关。它现在已被弃用,将在 community.general 3.0.0 中删除(https://github.com/ansible-collections/community.general/pull/1154)。proxmox - 新选项
proxmox_default_behavior的默认值将在 community.general 4.0.0 中从compatibility更改为no_defaults。请将该选项设置为明确的值,以避免出现弃用警告(https://github.com/ansible-collections/community.general/pull/850)。proxmox_kvm - 新选项
proxmox_default_behavior的默认值将在 community.general 4.0.0 中从compatibility更改为no_defaults。请将该选项设置为明确的值,以避免出现弃用警告(https://github.com/ansible-collections/community.general/pull/850)。syspatch - 弃用冗余的
apply参数(https://github.com/ansible-collections/community.general/pull/360)。xbps -
force选项从未生效。它现在已被弃用,将在 3.0.0 中删除(https://github.com/ansible-collections/community.general/pull/568)。
community.hashi_vault
hashi_vault - 用于选项
url的VAULT_ADDR环境变量将在 1.0.0 中降低优先级;请使用ANSIBLE_HASHI_VAULT_ADDR有意覆盖配置值(https://github.com/ansible-collections/community.hashi_vault/issues/8)。hashi_vault - 用于选项
auth_method的VAULT_AUTH_METHOD环境变量将在 2.0.0 中删除,请改用ANSIBLE_HASHI_VAULT_AUTH_METHOD(https://github.com/ansible-collections/community.hashi_vault/issues/17)。hashi_vault - 用于选项
role_id的VAULT_ROLE_ID环境变量将在 2.0.0 中删除,请改用ANSIBLE_HASHI_VAULT_ROLE_ID(https://github.com/ansible-collections/community.hashi_vault/issues/20)。hashi_vault - 用于选项
secret_id的VAULT_SECRET_ID环境变量将在 2.0.0 中删除,请改用ANSIBLE_HASHI_VAULT_SECRET_ID(https://github.com/ansible-collections/community.hashi_vault/issues/20)。hashi_vault - 用于选项
token_file的VAULT_TOKEN_FILE环境变量将在 2.0.0 中删除,请改用ANSIBLE_HASHI_VAULT_TOKEN_FILE(https://github.com/ansible-collections/community.hashi_vault/issues/15)。hashi_vault - 用于选项
token_path的VAULT_TOKEN_PATH环境变量将在 2.0.0 中删除,请改用ANSIBLE_HASHI_VAULT_TOKEN_PATH(https://github.com/ansible-collections/community.hashi_vault/issues/15)。
community.network
弃用对使用持久框架的网络平台的支持 connection=local(https://github.com/ansible-collections/community.network/pull/120)。
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 模块替代。