てくなべ (tekunabe)

ansible / network automation / 学習メモ

[Ansible] 実験的サポートが開始された名前空間機能 Ansible Collections

はじめに

[Ansible] Ansible 2.8 リリース、便利機能や注意点まとめ - てくなべ (tekunabe) でも少し触れたた通り、Ansible 2.8 から Ansible Collections という機能が実験的サポートとして追加されました。

正直、詳細はまだ理解できていないのですが、名前空間の新しい仕組みのようです。まだまだ情報が少ないのですが、公式の情報のリンクをまとめておきます。

Ansible 2.8 の Changelog

ansible/CHANGELOG-v2.8.rst at stable-2.8 · ansible/ansible · GitHub

Experimental support for Ansible Collections and content namespacing - Ansible content can now be packaged in a collection and addressed via namespaces. This allows for easier sharing, distribution, and installation of bundled modules/roles/plugins, and consistent rules for accessing specific content via namespaces.

Ansible 公式ドキュメント

docs.ansible.com 本記事投稿時現在、develバージョン(2.9相当)のドキュメントにしか掲載されていません。

Ansible Galaxy 公式ドキュメント

galaxy.ansible.com

Webinar

www.ansible.com

ブログ

www.ansible.com

In future releases, we plan for content Creators to be able to provide their content in a package format called a Collection. Collections will be able to be “installed” in the appropriate location for execution whether that’s on the Ansible control node or the managed node. The Collection Creator will be able to provide execution details via roles and playbooks in the package itself. The before mentioned changes to Ansible Engine will allow Collections to be one way to detach content from the official Ansible Engine software delivery process.