AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

Install Ansible Automation Controller on a Single Host with Internal DB — Video Tutorial

Learn how to install Red Hat Ansible Automation Platform on a single host with an internal database.

Watch on YouTube · Read the written article

Tutorial summary

What you'll learn

  • Standalone automation controller with internal database (single host)
  • Conclusion
  • Related Articles
  • See also
  • Prerequisites
  • Download the Installer
  • Installation Steps
  • Step 1: Edit the Inventory File
  • Step 2: Run the Installer
  • Step 3: Verify Installation
Standalone automation controller with internal database (single host) The following inventory file is used to install the Red Hat Ansible Automation Platform with one Ansible Automation Controller. This installation inventory file installs one single automation controller node with an internal database “`host1.example.com`”. ```ini [automationcontroller] host1.example.com node_type=hybrid [all:vars] admin_password='<password>' pg_host='' pg_port='5432' pg_database='awx' pg_username='awx' pg_password='<password>' pg_sslmode='prefer' registry_url='registry.redhat.io' registry_username='<registry username>' registry_password='<registry password>' ``` With the following parameters: - `[automationcontroller]` The hostname and the node type. In this case `host1.example.com` and `hybrid` type. The `hybrid` type act as a controller and execution node - `admin_password`: the password of the “admin” user in the Web user interface - `pg_password`: the password of the PostgreSQL database - `registry_username`: the Red Hat Consumer username - `registry_password`: the Red Hat Consumer password Conclusion Standalone Automation Controllers with internal databases are useful in developer scenarios or a small automation workflow. Related Articles - [Ansible inventory file structure](/articles/ansible-inventory-complete-guide) - [the Ansible AWX overview](/articles/what-is-ansible-awx) See also - [How to install Ansible in Rocky Linux 10](/articles/how-to-install-ansible-in-rocky-linux-10-ansible-install) - [Ansible Install Docker: Automate Docker Installation on Linux (Complete Guide)](/articles/ansible-install-docker-automate-linux-complete-guide) Prerequisites Before installing Ansible Automation Platform, ensure: - **Operating System**: Red Hat Enterprise Linux 8.6+ or 9.x (x86_64) - **Minimum Hardware**: 4 CPUs, 16 GB RAM, 40 GB disk - **Network**: Access to `registry.redhat.io` and Red Hat CDN - **Subscription**: Active Red Hat Ansible Automation Platform subscription - **DNS**: Hostname resolves correctly (`host1.example.com`) ```bash Verify RHEL version cat /etc/redhat-release Register system with Red Hat sudo subscription-manager register sudo subscription-manager attach --auto Enable required repositories sudo subscription-manager repos \ --enable ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms ``` Download the Installer ```bash Download the setup bundle from access.redhat.com Navigate to: Downloads → Ansible Automation Platform → Setup Bundle Extract the bundle tar xvf ansible-automation-platform-setup-bundle-2.3-*.tar.gz cd ansible-automation-platform-setup-bundle-2.3-*/ ``` Installation Steps Step 1: Edit the Inventory File ```bash Edit the inventory file vi inventory ``` Replace the placeholder values with your actual passwords and registry credentials. Step 2: Run the Installer ```bash Run the setup script sudo ./setup.sh ``` The installation takes 15-30 minutes depending on hardware and network speed. Step 3

About this tutorial

  • Author: Luca Berton
  • Difficulty: Beginner
  • Read time: 4 min
  • Category: installation

Topics covered

Related video tutorials