Ansible Pilot

Ansible Automation Platform 2.4 Private Automation Hub Installation

Unleashing the Power of Ansible Private Automation Hub and Ansible Certified Content Collections in Red Hat Ansible Automation Platform 2.4 on ARM-Based Infrastructure Automation.
July 9, 2023
Access the Complete Video Course and Learn Quick Ansible by 200+ Practical Lessons

YouTube Video

Introduction

In today’s fast-paced world, automation has become crucial for organizations seeking to streamline operations, improve efficiency, and accelerate project delivery. Ansible, a popular open-source automation tool, has revolutionized how organizations manage their IT infrastructure and application deployments. With the introduction of the Ansible Private Automation Hub, organizations now have an even more powerful and flexible solution to leverage the benefits of automation.

What is Ansible Private Automation Hub?

Ansible Private Automation Hub is a feature included in the Red Hat Ansible Automation Platform, designed to enhance the management and distribution of Ansible Content Collections. It is a trusted and secure central repository where organizations can store, control access to, and share their user-generated content alongside Ansible Certified Content from Red Hat and other leading partners.

Benefits of Ansible Private Automation Hub:

  1. Centralized Repository: With the Private Automation Hub, organizations can store their internally generated Ansible content in a single location. This allows for easy access, version control, and efficient collaboration among teams working on automation projects.

  2. Enhanced Security and Governance: By leveraging the Private Automation Hub, organizations can exercise greater control over access to their user-generated content. This ensures that sensitive information and intellectual property are protected, and content is shared only with authorized individuals or teams. This feature is particularly valuable for organizations with strict security and compliance requirements.

  3. Pre-Loaded Ansible Validated Content: The Private Automation Hub acts as a repository for pre-loaded Ansible validated content. This content has undergone rigorous testing and validation by Red Hat and the Ansible community, ensuring its reliability and adherence to best practices. By utilizing this content, organizations can jumpstart their automation initiatives with confidence.

  4. Seamless Collaboration: The Private Automation Hub facilitates collaboration within organizations by enabling teams to share a combination of internally generated content, Red Hat Ansible Certified Content, and Ansible validated content. This promotes knowledge sharing, standardization, and consistency across automation projects.

  5. Automation Execution Environments: Besides storing and managing Ansible Content Collections, the Private Automation Hub supports automation execution environments. This means organizations can build and share container images that contain defined, consistent, and portable environments for their automation workflows. This capability simplifies the deployment and execution of automation playbooks across different environments, such as development, testing, and production.

Demo

  1. Download the Installer from the ansible-automation-platform-setup-bundle-2.4–1-aarch64.tar.gz from the Red Hat Console

  2. Customize the inventory file for the Installer. For single node Automation Controller use the following file:

[automationcontroller]
[automationcontroller:vars]
peers=execution_nodes
[execution_nodes]
[automationhub]
ah.example.com ansible_connection=local
[automationedacontroller]
[database]
[sso]
[all:vars]
admin_password=''
pg_host=''
pg_port=5432
pg_database='awx'
pg_username='awx'
pg_password=''
registry_url='registry.redhat.io'
registry_username=''
registry_password=''
receptor_listener_port=27199

automationhub_admin_password='redhat'
automationhub_pg_host=''
automationhub_pg_port=5432
automationhub_pg_database='automationhub'
automationhub_pg_username='automationhub'
automationhub_pg_password='redhat'
automationhub_pg_sslmode='prefer'

automationedacontroller_admin_password=''
automationedacontroller_pg_host=''
automationedacontroller_pg_port=5432
automationedacontroller_pg_database='automationedacontroller'
automationedacontroller_pg_username='automationedacontroller'
automationedacontroller_pg_password=''
sso_keystore_password=''
sso_console_admin_password=''

The lines you provided represent a set of configuration parameters for the Ansible Private Automation Hub. Let’s break down each parameter and its purpose:

These configuration parameters are essential for setting up the connection and authentication between the Ansible Private Automation Hub and the PostgreSQL database, ensuring secure data storage and retrieval within the Automation Hub.

  1. Execute the setup.sh

You might like to customize the collections/ansible_collections/ansible/automation_platform_installer/roles/preflight/defaults/main.yml file in a development environment to lower the 7400 MB of memory requirements.

  1. Connect to the WebUI and Login with the admin user and the selected password (“redhat”): Ansible Automation Platform 2.4 <a href=\Private Automation Hub Login" src="/articles/Ansible%20Automation%20Platform%202.4%20Private%20Automation%20Hub%20Login.png">

  2. The main dashboard look like the following

Ansible Automation Platform 2.4 <a href=\Private Automation Hub Dashboard" src="/articles/Ansible%20Automation%20Platform%202.4%20Private%20Automation%20Hub%20Dashboard.png">

Recap

The Ansible Private Automation Hub is a game-changer for organizations seeking to maximize the potential of their automation initiatives. Organizations can accelerate their automation projects, enhance collaboration, and ensure compliance with security and governance requirements by providing a secure and centralized repository for user-generated content and access to certified and validated content. Whether you are just starting your automation journey or looking to scale your existing automation efforts, the Ansible Private Automation Hub is a valuable tool that empowers organizations to automate confidently.

Subscribe to the YouTube channel, Medium, and Website, X (formerly Twitter) to not miss the next episode of the Ansible Pilot.

Academy

Learn the Ansible automation technology with some real-life examples in my

My book Ansible By Examples: 200+ Automation Examples For Linux and Windows System Administrator and DevOps

BUY the Complete PDF BOOK to easily Copy and Paste the 250+ Ansible code

Want to keep this project going? Please donate

Access the Complete Video Course and Learn Quick Ansible by 200+ Practical Lessons
Follow me

Subscribe not to miss any new releases