Chapter 23. Ansible Automation Platform
Ansible Automation Platform is a commercial software product offered by Red Hat. Ansible Automation Platform 2 is the next-generation automation platform for the enterprise. It consists of a rearchitected Automation Controller 4, formerly known as Tower/AWX, and the Automation Hub, an on-premises repository for Ansible content that replaces the on-premises Ansible Galaxy. You can curate the Automation Hub to match your organization’s governance policies or simply sync it with community content. Example 23-1 is a file that can be uploaded by the administrator of the Automation Hub (see Figure 23-1). It defines the collections that the Automation Hub will serve on the local network. The Automation Hub needs internet connectivity to download these.
Example 23-1. requirements.yml for community content on Automation Hub
---
collections:
# Install collections from Ansible Galaxy.
- name: ansible.windows
source: https://galaxy.ansible.com
- name: ansible.utils
source: https://galaxy.ansible.com
- name: awx.awx
source: https://galaxy.ansible.com
- name: community.crypto
source: https://galaxy.ansible.com
- name: community.docker
source: https://galaxy.ansible.com
- name: community.general
source: https://galaxy.ansible.com
- name: community.kubernetes
source: https://galaxy.ansible.com
...
Figure 23-1. Uploading the requirements file
You can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access