Help us understand the problem. What is going on with this article?

Ansible 2.10 の変更点: 付属モジュールのAnsible Collectionへの移行

本記事は2020/04/03現在確認できた情報を元に作成しています。

はじめに

Ansible 2.10では今までAnsibleと共に配布されていたモジュールやプラグインの配布形態が変わります。

Ansibleのモジュール化のための仕組みとしてAnsible Collectionがあります。
ロードマップAnsible Collections Overviewによると、Ansible 2.10ではAnsible Collectionが全面的に活用されるようになります。
Ansible 2.9までAnsible本体のリポジトリに収録されていたモジュール(プラグイン)の多く(約4,100個)が分離され、Ansible Collectionを通じて導入する形に変更されます。
develブランチからは既に該当モジュール(プラグイン)が削除されています。
今後Ansible本体のリポジトリには動作に必要な最小限のモジュールやプラグインのみが収録され、ansible-baseのパッケージ名で配布されるようです。

分離されるモジュールの移行先Collection

Ansible 2.10で本体から分離されるモジュール(プラグイン)と、各モジュール(プラグイン)の移行先Collection名 (ansible-galaxy collection installに指定する名前) は、https://github.com/ansible/ansible/blob/devel/lib/ansible/config/ansible_builtin_runtime.yml から確認できます。
このファイルはAnsible 2.9以前との互換性を踏まえ、分離前の名前でモジュール(プラグイン)が指定された際に移行先Collectionのモジュール(プラグイン)を指しているとAnsibleに解釈させるためのものです。

以下に Collection名と分離先GitHubリポジトリのURLを記載します(参考リビジョン)。

Collection名 リポジトリURL
amazon.aws https://github.com/ansible-collections/amazon.aws
ansible.netcommon https://github.com/ansible-collections/ansible.netcommon
ansible.posix https://github.com/ansible-collections/ansible.posix
ansible.windows https://github.com/ansible-collections/ansible.windows
arista.eos https://github.com/ansible-collections/arista.eos
awx.awx https://github.com/ansible/awx
azure.azcollection https://github.com/ansible-collections/azure
check_point.mgmt https://github.com/ansible-collections/checkpoint
chocolatey.chocolatey https://github.com/vexx32/choco-ansible
cisco.aci https://github.com/CiscoDevNet/ansible-aci
cisco.asa https://github.com/ansible-collections/cisco.asa
cisco.intersight https://github.com/CiscoDevNet/ansible-intersight
cisco.ios https://github.com/ansible-collections/ios
cisco.iosxr https://github.com/ansible-collections/iosxr
cisco.meraki https://github.com/CiscoDevNet/ansible-meraki
cisco.mso
cisco.nxos https://github.com/ansible-collections/nxos
cisco.ucs https://github.com/CiscoDevNet/ansible-ucs
community.aws https://github.com/ansible-collections/community.aws
community.azure https://github.com/ansible-collections/community.azure
community.crypto https://github.com/ansible-collections/community.crypto
community.general https://github.com/ansible-collections/community.general
community.grafana https://github.com/ansible-collections/grafana
community.kubernetes https://github.com/ansible-collections/kubernetes
community.mongo https://github.com/ansible-collections/mongodb
community.vmware_rest https://github.com/ansible-collections/vmware_rest
community.vmware https://github.com/ansible-collections/vmware
community.windows https://github.com/ansible-collections/community.windows
containers.podman https://github.com/containers/ansible-podman-collections
cyberark.bizdev https://github.com/cyberark/ansible-security-automation-collection
dellemc_networking.os10 https://github.com/ansible-collections/dellemc_networking.os10
dellemc_networking.os6 https://github.com/ansible-collections/dellemc_networking.os6
dellemc_networking.os9 https://github.com/ansible-collections/dellemc_networking.os9
f5networks.f5_modules https://github.com/F5Networks/f5-ansible
fortinet.fortios https://github.com/fortinet-ansible-dev/ansible-galaxy-fortios-collection
frr.frr https://github.com/ansible-collections/frr
google.cloud https://github.com/ansible-collections/ansible_collections_google
hetzner.hcloud https://github.com/ansible-collections/hetzner.hcloud
ibm.qradar https://github.com/ansible-collections/ibm.qradar
junipernetworks.junos https://github.com/ansible-collections/junos
netapp.aws https://github.com/ansible-collections/netapp
netapp.elementsw https://github.com/ansible-collections/netapp
netapp.ontap https://github.com/ansible-collections/netapp
netbox.netbox https://github.com/netbox-community/ansible_modules
openstack.cloud https://opendev.org/openstack/ansible-collections-openstack
openvswitch.openvswitch https://github.com/ansible-collections/openvswitch
ovirt.ovirt https://github.com/ovirt/ovirt-ansible-collection
purestorage.flasharray https://github.com/Pure-Storage-Ansible/FlashArray-Collection
purestorage.flashblade https://github.com/Pure-Storage-Ansible/FlashBlade-Collection
servicenow.servicenow https://github.com/ServiceNowITOM/servicenow-ansible
skydive.skydive https://github.com/ansible-collections/skydive
splunk.enterprise_security https://github.com/ansible-collections/splunk.enterprise_security
theforeman.foreman https://github.com/theforeman/foreman-ansible-modules
vyos.vyos https://github.com/ansible-collections/vyos
wti.remote https://github.com/wtinetworkgear/wti-collection
pwdtnx
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした