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.

How to install Ansible in CentOS 8 Stream - Ansible install — Video Tutorial

Learn the easiest way to install and maintain Ansible on CentOS Stream 8 using the EPEL Next repository, managed by the Fedora Special Interest Group.

Watch Video

Watch "How to install Ansible in CentOS 8 Stream - Ansible install" on YouTube

What You'll Learn

Full Tutorial Content

How to install Ansible in CentOS Stream version 8. Today we're going to talk about the easier way to install and maintain Ansible inside CentOS Stream 8 using the EPEL Next repository. I'm Luca Berton and welcome to today's episode of Ansible Pilot How to install Ansible in CentOS Stream 8 - use Extra Packages for Enterprise Linux (EPEL) Next additional packages for CentOS Stream The easier way to install and maintain Ansible inside CentOS Stream version 8 is using the Extra Packages for Enterprise Linux (EPEL) Next additional repository. This repository is maintained by the Fedora Special Interest Group and manages a high-quality set of additional packages for CentOS Stream. It's very similar to Extra Packages for Enterprise Linux (EPEL) additional packages target for Red Hat Enterprise Linux (RHEL), CentOS, Scientific Linux (SL), and Oracle Linux (OL). ## Playbook Let's jump in a quick live Playbook of how to install Ansible in CentOS Stream version 8. code - install-Ansible-CentOS-Stream8.sh ```bash #!/bin/bash $ sudo yum install epel-next-release $ sudo yum install ansible ``` execution output ```bash cat /etc/redhat-release CentOS Stream release 8 yum install epel-next-release Last metadata expiration check: 0:17:42 ago on Tue 19 Oct 2021 08:38:09 AM UTC. Dependencies resolved. =================================================================================================== Package Architecture Version Repository Size =================================================================================================== Installing: epel-next-release noarch 8-11.el8 extras 11 k Installing dependencies: epel-release noarch 8-11.el8 extras 24 k Transaction Summary =================================================================================================== Install 2 Packages Total download size: 35 k Installed size: 38 k Is this ok [y/N]: y Downloading Packages: (1/2): epel-release-8-11.el8.noarch.rpm 398 kB/s | 24 kB 00:00 (2/2): epel-next-release-8-11.el8.noarch.rpm 57 kB/s | 11 kB 00:00 --------------------------------------------------------------------------------------------------- Total 108 kB/s | 35 kB 00:00 warning: /var/cache/dnf/extras-4caecf8d6e840d19/packages/epel-next-release-8-11.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY CentOS Stream 8 - Extras 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial Is this ok [y/N]: y Key imported successfull

About This Tutorial

Read the full written article: How to install Ansible in CentOS 8 Stream - Ansible install

Topics Covered

Related Video Tutorials