Authors: Seeman Mannan, Anastasia Ntogka
Red Hat® Ansible® Automation Platform is available on IBM® Z® and IBM® LinuxONE since December 7th, 2023. This marked an important step towards more centralized and efficient operations management on IBM Z / IBM® LinuxONE.
It alleviates the need to maintain multiple tools and frameworks and allows for an easy automation of system setup and maintenance.
Giving the ability to build on available Ansible Certified Content Collections (see list of collections below), any team that uses it will have an easy starting point.
The Ansible Automation Platform introduces a range of useful features, including Event-Driven Ansible, enabling events to be received from third-party tools and subsequent responsive actions based on predefined rules.
In this blog, we lead you through the step-by-step installation and configuration of the Ansible Automation Platform as a standalone system on IBM Z and IBM LinuxONE (s390x architecture) to help you get it up and running.
Architecture diagram
Component |
LPAR |
Hostname |
AAC + Installer |
LPAR 1 |
aac.example.com |
PAH |
LPAR 2 |
pah.example.com |
EDA |
LPAR 3 |
eda.example.com |
DATA |
LPAR 4 |
data.example.com |
-
- For the ansible automation platform installer to be able to connect to the other LPARs, make sure that LPAR 1 can connect with SSH to LPAR 2, 3 and 4.
- Make sure all four hostnames are resolvable from each LPAR.
Ansible Automation Platform consists of the following three components,
-
- Ansible Automation controller
- Private Automation Hub
- Event-Driven Ansible controller
Prerequisites
-
- Registry Service Account
The Registry Service Account is used to consume container images from registry.redhat.io
. Follow the steps below to retrieve the token and username, which will be used while installing the Ansible Automation Platform
.
Login to the URL https://access.redhat.com/RegistryAuthentication#creating-registry-service-accounts-6
by using your RedHat admin credentials. Then click New Service Account
- Ansible Automation Platform installation and registration
Prepare your Red Hat Enterprise Linux (RHEL) machine by registering with Red Hat and installing the "Ansible Automation Platform" on LPAR 1.
- Register your RHEL system with your username and password
subscription-manager register --username <rhel_username> --password <password> --auto-attach
- Then execute the below command to find the pool id for
Ansible Automation Platform
subscription-manager list --available --all | grep "Ansible Automation Platform" -B 3 -A 6 | grep Pool
- Attach the "Ansible Automation Platform" pool to the subscription manager
subscription-manager attach --pool= <Ansible Pool-Id from the previous step>
- System requirements