将内容上传到 Red Hat Automation Hub

Red Hat Ansible Automation Platform 2.1

将集合上传到 Automation Hub

Red Hat Customer Content Services

摘要

提供反馈:
如果您对本文档有任何改进建议,或发现错误,请联系技术支持 https://access.redhat.com,使用 Docs组件在 Ansible Automation PlatformJIRA 项目中创建一个问题。

前言

Red Hat Automation Hub 分发经过认证并支持的从合作伙伴提供的集合。每个集合包括模块、角色、插件和文档等内容。您第一次将集合上传到 Automation Hub 时,我们的合作伙伴工程团队将开始对其进行检查以进行认证。

您可以使用 Automation Hub 用户界面或 ansible-galaxy 客户端上传集合。

使开源包含更多

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。我们从这四个术语开始:master、slave、黑名单和白名单。由于此项工作十分艰巨,这些更改将在即将推出的几个发行版本中逐步实施。有关更多详情,请参阅我们的首席技术官 Chris Wright 提供的消息

第 1 章 将集合上传到 Automation Hub

前提条件

  • 为 Red Hat Automation Hub 配置了 ansible-galaxy 客户端。
  • 您至少有一个命名空间。
  • 您已通过 ansible-test sanity 运行所有内容。
  • 您是一个红帽连接合作伙伴。请参阅红帽合作伙伴连接以了解更多信息。

流程

使用 Automation Hub 用户界面上传您的集合:

  1. 登录到 Red Hat Ansible Automation 平台。
  2. 进入 Automation HubMy Namespaces
  3. 点一个命名空间。
  4. Upload collection
  5. New collection modal 中,点 Select file。在您的系统中找到该文件。
  6. Upload

要使用 ansible-galaxy 客户端上传集合,请输入以下命令:

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

上传后,您的集合将进入合作伙伴认证过程。我们的合作伙伴工程团队将联系您集合的认证状态。

法律通告

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.