Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Ansible Tower Install and Setup Quick Guide

To install Red Hat Ansible Tower 3.8.6 (using ansible-tower-setup-3.8.6-2.tar.gz), your environment must meet a set of hardware, software, and system prerequisites. Below are the summarized requirements specific to this Tower version and its installer bundle:


TASK [fail for unsupported distribution] ***************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AlmaLinux 8.10 is not a supported OS for an Ansible Automation Platform installation. Supported OSes include Red Hat Enterprise Linux 7.7+, CentOS Linux 7.7+, and CentOS Stream 8."}
Code language: PHP (php)

Hardware Requirements

  • CPU: Minimum 4 cores (more recommended for large setups)
  • RAM: Minimum 8 GB (16 GB recommended for production/large setups)
  • Storage: Minimum 20 GB of dedicated disk space for Tower service nodes (more if you expect logs and data to grow)
  • Network: Stable network connection

Supported Operating Systems

  • Red Hat Enterprise Linux (RHEL):
    • RHEL 8.2 or later 64-bit (x86)
    • RHEL 7.7 or later 64-bit (x86)
  • CentOS 7.7 or later 64-bit (x86)

As of mid-2024 and beyond, CentOS 8 is officially End-of-Life (EOL), and all CentOS 8 repositories (including EPEL, PowerTools, etc.) have been archived or removed. This makes it nearly impossible (and not recommended for production) to install Ansible Tower or any other modern enterprise software directly on CentOS 8, because:

  • Official YUM repositories are no longer available.
  • Security updates and new packages are not provided.
  • Red Hat and the Ansible team do not support EOL platforms for new releases of Tower (now called Automation Controller).

AWS - RHEL-8.10.0_HVM-20250529-x86_64-1792-Hourly2-GP3
its working with thisCode language: JavaScript (javascript)

Software Prerequisites

  • Ansible: Version 2.9 or newer must be installed on the target host before installing Tower.
  • Python: Python 3.6 or higher is required.
  • PostgreSQL: Required and will be installed by the setup; use PostgreSQL 10 for 3.x series.
  • Web Browser: Current supported version of Mozilla Firefox or Google Chrome for Tower web UI.
  • Other: The installer will set up dependencies such as Django, NGINX, and others automatically.

System and Access Requirements

  • Root Privileges: You must have root access (sudo privileges) for installation and configuration.
  • Standalone VM/Instance: Install Tower on a dedicated VM or cloud instance. Avoid co-locating with other applications except monitoring/logging.
  • Do Not Install in Python Virtual Environment: Tower is a full application, not just a library; it cannot be installed in a venv.
  • Subscriptions: For version 3.8 and later, you must supply a valid Red Hat subscription or manifest during installation, even if you are upgrading.
  • Repository Access: Red Hat/CentOS repositories (BaseOS and AppStream) should be enabled. EPEL/extras may be required for some prerequisites.

Other Requirements

  • The latest stable release of Ansible
  • 2 GB RAM minimum (4+ GB RAM recommended)
  • 2 GB RAM (minimum and recommended for Vagrant trial installations)
  • 4 GB RAM is recommended per 100 forks
  • 20 GB hard disk
  • 64-bit support required (kernel and runtime)

Follwoing ports should be not used

As the root user, for Ubuntu 14.04/12.2 LTS 64-bit
apt-get install software-properties-common
apt-add-repository ppa:ansible/ansible
apt-get install ansible

  • pg_port=’5432′
  • rabbitmq_port=5672
  • http(nginx)=80
  • https(nginx)=443

Download Ansible Tower Package

# Location - https://releases.ansible.com/ansible-tower/setup/
$ wget https://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-3.5.1-1.tar.gz
$ tar -zxvf ansible-tower-setup-3.5.1-1.tar.gz
$ cd ansible-tower-setup-3.5.1-1Code language: PHP (php)

Configure inventory file with entries.

vi inventory
admin_password=’admin123′
pg_password=’db-passwrord-123′

Start a Ansible tower Installation Process

$ ./setup.sh

Verify Ansible tower setup by Access http://ip-add:80

Starting, Stopping, and Restarting Ansible Tower


$ ansible-tower-service restart
ansible-tower-service status
$ ansible-tower-service stop
$ ansible-tower-service start

How to download Ansible Tower Trial License file?


Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x