Ansible 2.10 的变化:迁移附属模块至 Ansible Collection

此文章根据2020/04/03(目前)掌握的信息编写而成。

首先

在Ansible 2.10版本中,之前与Ansible一起分发的模块和插件的分发方式发生了变化。

作为Ansible模块化机制的一部分,有Ansible Collection。根据路线图和Ansible Collection概述,从Ansible 2.10开始,将充分利用Ansible Collection。到目前为止,多达4,100个模块(插件)被分离出Ansible的核心存储库,并通过Ansible Collection进行引入。这些相关模块(插件)已从devel分支中移除。未来,Ansible的核心存储库将仅包含所需的最基本的模块和插件,并以ansible-base的软件包名称进行分发。

被分离模块的迁移目标集合

你可以在 https://github.com/ansible/ansible/blob/devel/lib/ansible/config/ansible_builtin_runtime.yml 上找到将在Ansible 2.10中从核心中分离出来的模块(插件)以及每个模块(插件)的迁移目标Collection名称(用于ansible-galaxy collection install的名称)。
该文件考虑到与Ansible 2.9及之前版本的兼容性,并在指定分离前名称的模块(插件)时引用迁移目标Collection的模块(插件),以便让Ansible进行解析。

以下是Collection名称和分离的GitHub存储库的URL(参考版本)。

Collection名リポジトリURLamazon.awshttps://github.com/ansible-collections/amazon.awsansible.netcommonhttps://github.com/ansible-collections/ansible.netcommonansible.posixhttps://github.com/ansible-collections/ansible.posixansible.windowshttps://github.com/ansible-collections/ansible.windowsarista.eoshttps://github.com/ansible-collections/arista.eosawx.awxhttps://github.com/ansible/awxazure.azcollectionhttps://github.com/ansible-collections/azurecheck_point.mgmthttps://github.com/ansible-collections/checkpointchocolatey.chocolateyhttps://github.com/vexx32/choco-ansiblecisco.acihttps://github.com/CiscoDevNet/ansible-acicisco.asahttps://github.com/ansible-collections/cisco.asacisco.intersighthttps://github.com/CiscoDevNet/ansible-intersightcisco.ioshttps://github.com/ansible-collections/ioscisco.iosxrhttps://github.com/ansible-collections/iosxrcisco.merakihttps://github.com/CiscoDevNet/ansible-merakicisco.mso
cisco.nxoshttps://github.com/ansible-collections/nxoscisco.ucshttps://github.com/CiscoDevNet/ansible-ucscommunity.awshttps://github.com/ansible-collections/community.awscommunity.azurehttps://github.com/ansible-collections/community.azurecommunity.cryptohttps://github.com/ansible-collections/community.cryptocommunity.generalhttps://github.com/ansible-collections/community.generalcommunity.grafanahttps://github.com/ansible-collections/grafanacommunity.kuberneteshttps://github.com/ansible-collections/kubernetescommunity.mongohttps://github.com/ansible-collections/mongodbcommunity.vmware_resthttps://github.com/ansible-collections/vmware_restcommunity.vmwarehttps://github.com/ansible-collections/vmwarecommunity.windowshttps://github.com/ansible-collections/community.windowscontainers.podmanhttps://github.com/containers/ansible-podman-collectionscyberark.bizdevhttps://github.com/cyberark/ansible-security-automation-collectiondellemc_networking.os10https://github.com/ansible-collections/dellemc_networking.os10dellemc_networking.os6https://github.com/ansible-collections/dellemc_networking.os6dellemc_networking.os9https://github.com/ansible-collections/dellemc_networking.os9f5networks.f5_moduleshttps://github.com/F5Networks/f5-ansiblefortinet.fortioshttps://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collectionfrr.frrhttps://github.com/ansible-collections/frrgoogle.cloudhttps://github.com/ansible-collections/ansible_collections_googlehetzner.hcloudhttps://github.com/ansible-collections/hetzner.hcloudibm.qradarhttps://github.com/ansible-collections/ibm.qradarjunipernetworks.junoshttps://github.com/ansible-collections/junosnetapp.awshttps://github.com/ansible-collections/netappnetapp.elementswhttps://github.com/ansible-collections/netappnetapp.ontaphttps://github.com/ansible-collections/netappnetbox.netboxhttps://github.com/netbox-community/ansible_modulesopenstack.cloudhttps://opendev.org/openstack/ansible-collections-openstackopenvswitch.openvswitchhttps://github.com/ansible-collections/openvswitchovirt.ovirthttps://github.com/ovirt/ovirt-ansible-collectionpurestorage.flasharrayhttps://github.com/Pure-Storage-Ansible/FlashArray-Collectionpurestorage.flashbladehttps://github.com/Pure-Storage-Ansible/FlashBlade-Collectionservicenow.servicenowhttps://github.com/ServiceNowITOM/servicenow-ansibleskydive.skydivehttps://github.com/ansible-collections/skydivesplunk.enterprise_securityhttps://github.com/ansible-collections/splunk.enterprise_securitytheforeman.foremanhttps://github.com/theforeman/foreman-ansible-modulesvyos.vyoshttps://github.com/ansible-collections/vyoswti.remotehttps://github.com/wtinetworkgear/wti-collection
广告
将在 10 秒后关闭
bannerAds