Red Hat Automation Hub へのコンテンツのアップロード

Red Hat Ansible Automation Platform 2.3

Automation Hub へのコレクションのアップロード

Red Hat Customer Content Services

概要

フィードバックの提供:
このドキュメントを改善するための提案がある場合、またはエラーを見つけた場合は、テクニカルサポート (https://access.redhat.com) に連絡し、Docs コンポーネントを使用して Ansible Automation Platform Jira プロジェクトで issue を作成してください。

はじめに

Automation Hub は、認定済みのサポートされたコレクションをパートナーからお客様に提供します。各コレクションには、モジュール、ロール、プラグイン、ドキュメントなどのコンテンツが含まれます。コレクションを Automation Hub に初めてアップロードする際に、パートナーエンジニアリングチームが認定用にレビューを開始します。

Automation Hub ユーザーインターフェイスまたは ansible-galaxy クライアントを使用して、コレクションをアップロードまたは削除して、コレクションを管理できます。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。まずは、マスター (master)、スレーブ (slave)、ブラックリスト (blacklist)、ホワイトリスト (whitelist) の 4 つの用語の置き換えから始めます。この取り組みは膨大な作業を要するため、今後の複数のリリースで段階的に用語の置き換えを実施して参ります。詳細は、Red Hat CTO である Chris Wright のメッセージ をご覧ください。

第1章 Automation Hub へのコレクションのアップロード

前提条件

  • Red Hat Automation Hub に ansible-galaxy クライアントを設定している。
  • namespace が 1 つ以上ある。
  • ansible-test sanity ですべてのコンテンツを実行している。
  • Red Hat Connect パートナーである。詳細は、Red Hat Partner Connect を参照してください。

手順

Automation Hub ユーザーインターフェイスを使用してコレクションをアップロードするには、以下を実行します。

  1. Red Hat Ansible Automation プラットフォームにログインします。
  2. Automation HubMy Namespaces に移動します。
  3. namespace をクリックします。
  4. Upload collection をクリックします。
  5. New collection モーダルで、Select file をクリックします。システムのファイルを見つけます。
  6. アップロード をクリックします。

ansible-galaxy クライアントを使用してコレクションをアップロードするには、以下のコマンドを入力します。

ansible-galaxy collection publish path/to/my_namespace-my_collection-1.0.0.tar.gz --api-key=SECRET

アップロードが完了すると、コレクションはパートナー認定プロセスに入ります。弊社のパートナーエンジニアリングチームが、コレクションの認定ステータスについてご連絡します。

第2章 Automation Hub でのコレクションの削除

コレクションが他のコレクションに依存しない場合は、不要なコレクションを削除すると、コレクションをさらに管理できます。コレクションの Dependencies タブをクリックして、現在のコレクションを使用する他のコレクションの一覧を表示します。

前提条件

  • 削除するコレクションに、他のコレクションとの依存関係がない。
  • Delete Collections パーミッションを削除している。

手順

  1. Red Hat Ansible Automation プラットフォームにログインします。
  2. Automation HubCollections に移動します。
  3. 削除するコレクションをクリックします。
  4. More actions をクリックして、オプションを選択します。

    1. Delete entire collection して、このコレクション内のすべてのバージョンを削除します。
    2. Delete version [number] を削除して、このコレクションの現行バージョンを削除します。Version ドロップダウンメニューを使用してバージョンを変更できます。

      注記

      選択したコレクションに他のコレクションの依存関係がある場合は、これらの依存関係が削除されるまでこれらのアクションは使用できなくなります。Dependencies タブをクリックして、続行する前に削除する依存関係の一覧を表示します。

  5. 確認ウィンドウが表示されたら、コレクションまたはバージョン番号が正しいことを確認してから、チェックボックス → Delete をクリックします。

法律上の通知

Copyright © 2023 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.