将内容上传到 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 PlatformJIRA 项目中创建一个问题。
前言
Automation Hub 分发经过认证并支持的从合作伙伴提供的集合。每个集合包括模块、角色、插件和文档等内容。您第一次将集合上传到 Automation Hub 时,我们的合作伙伴工程团队将开始对其进行检查以进行认证。
您可以使用自动化中心用户界面或 ansible-galaxy 客户端上传或删除集合来管理您的集合。
使开源包含更多
红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。我们从这四个术语开始:master、slave、黑名单和白名单。由于此项工作十分艰巨,这些更改将在即将推出的几个发行版本中逐步实施。有关更多详情,请参阅我们的首席技术官 Chris Wright 提供的消息。
第 1 章 将集合上传到自动化中心
先决条件
-
为 Red Hat Automation Hub 配置了
ansible-galaxy客户端。 - 您至少有一个命名空间。
-
您已通过
ansible-test sanity运行所有内容。 - 您是一个红帽连接合作伙伴。请参阅红帽合作伙伴连接以了解更多信息。
流程
使用 Automation Hub 用户界面上传您的集合:
- 登录到 Red Hat Ansible Automation 平台。
- 进入 Automation Hub → My Namespaces。
- 点一个命名空间。
- 点 Upload collection。
- 在 New collection modal 中,点 Select file。在您的系统中找到该文件。
- 点 Upload。
要使用 ansible-galaxy 客户端上传集合,请输入以下命令:
ansible-galaxy collection publish path/to/my_namespace-my_collection-1.0.0.tar.gz --api-key=SECRET
上传后,您的集合将进入合作伙伴认证过程。我们的合作伙伴工程团队将联系您集合的认证状态。
第 2 章 删除自动化中心中的集合
您可以通过删除不需要的集合来进一步管理集合,只要该集合不依赖于其他集合。点集合上的 Dependencies 选项卡查看使用当前集合的其他集合列表。
先决条件
- 要删除的集合没有与其他集合的依赖关系。
- 您有 Delete Collections 权限
流程
- 登录到 Red Hat Ansible Automation Platform。
- 进入 Automation Hub → Collections。
- 点要删除的集合。
点
,然后选择一个选项:
- 删除整个集合,以删除此集合中的所有版本。
删除版本 [number] 以删除此集合的当前版本。您可以使用版本下拉菜单更改版本。
注意如果所选集合有任何与其他集合依赖关系,则这些操作将不可用,直到删除这些依赖项为止。点 Dependencies 选项卡查看要删除的依赖项列表,然后再继续。
- 出现确认窗口时,验证集合或版本号是否正确,然后击复选框 → 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.