AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,100 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 "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example" published by Apress, 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 Fedora 37 - Ansible install — Video Tutorial

How to install and maintain the latest version of Ansible inside Fedora 37 using the system repository with a practical Playbook.

Watch Video

Watch "How to install Ansible in Fedora 37 - Ansible install" on YouTube

What You'll Learn

Full Tutorial Content

How to install Ansible in Fedora version 37. Today we're going to talk about the easier way to install and maintain Ansible inside Fedora 37 using the system repository. I'm Luca Berton and welcome to today's episode of Ansible Pilot. How to install Ansible in Fedora 37 Today we're talking about How to install Ansible in Fedora 37. The good news is that Ansible is included in the default repository so you could install it simply with your usual package manager. You could expect the latest version of Ansible in the updates repository. At the moment is available the latest 2.14 for `ansible-core` and 6.4 for `ansible`. See also: [Ansible terminology - ansible vs ansible-core packages](/articles/ansible-terminology-ansible-vs-ansible-core-packages). ## Playbook Let's jump in a quick live Playbook of how to install the latest version of Ansible in Fedora. code - install-Ansible-Fedora.sh ```bash #!/bin/bash sudo dnf update sudo dnf list available ansible sudo dnf install ansible sudo "rpm -qa | grep ansible" sudo dnf list ansible ``` execution ```bash [luca@fedora ~]$ sudo su [sudo] password for luca: [root@fedora luca]# cat /etc/redhat-release Fedora release 37 (Thirty Seven) [root@fedora luca]# hostnamectl Static hostname: n/a Transient hostname: fedora Icon name: computer-vm Chassis: vm 🖴 Machine ID: d2529b15dd1248ff98eb849bea4769ff Boot ID: 25ddcebe009247d285a8acef12f3d2ca Virtualization: vmware Operating System: Fedora Linux 37 (Workstation Edition) CPE OS Name: cpe:/o:fedoraproject:fedora:37 Kernel: Linux 6.0.7-301.fc37.aarch64 Architecture: arm64 Hardware Vendor: VMware, Inc. Hardware Model: VMware20,1 Firmware Version: VMW201.00V.20432347.BA64.2209100127 [root@fedora luca]# cat /etc/os-release NAME="Fedora Linux" VERSION="37 (Workstation Edition)" ID=fedora VERSION_ID=37 VERSION_CODENAME="" PLATFORM_ID="platform:f37" PRETTY_NAME="Fedora Linux 37 (Workstation Edition)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:37" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=37 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=37 VARIANT="Workstation Edition" VARIANT_ID=workstation [root@fedora luca]# ansible bash: ansible: command not found... Install package 'ansible-core' to provide command 'ansible'? [N/y] n [root@fedora luca]# dnf list available ansible Copr repo for PyCharm owned 375 B/s | 341 B 00:00 Last metadata expiration check: 1:34:46 ago on Tue 29 Nov 2022 06:32:17 PM GMT. Available Packages ansible.noarch 7.0.0~b1-1.fc37 updates [root@fedora luca]

About This Tutorial

Read the full written article: How to install Ansible in Fedora 37 - Ansible install

Topics Covered

Related Video Tutorials