第 4 章 使用 Ansible Collections 管理 Satellite
卫星 Ansible Collections 是与卫星 API 交互的一组 Ansible 模块。您可以使用 Satellite Ansible Collections 管理和自动化卫星的许多方面。
4.1. 从 RPM 安装 Satellite Ansible 模块 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
使用此流程安装 Satellite Ansible 模块。
前提条件
确保启用了 Ansible 2.9 或更高版本的存储库,并且 ansible 软件包已更新:
subscription-manager repos --enable rhel-7-server-ansible-2.9-rpms satellite-maintain packages update ansible
# subscription-manager repos --enable rhel-7-server-ansible-2.9-rpms # satellite-maintain packages update ansible
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
流程
使用以下命令安装 RPM:
satellite-maintain packages install ansible-collection-redhat-satellite
# satellite-maintain packages install ansible-collection-redhat-satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow