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 Fedora 39 - Ansible install — Video Tutorial

Learn how to install Ansible on Fedora 39 efficiently using dnf, ensuring your system is ready for automation tasks with the latest versions of ansible-core.

Watch on YouTube · Read the written article

Tutorial summary

What you'll learn

  • Introduction
  • Prerequisites
  • Installation Steps
  • 1. Update the System
  • 2. Check Ansible Availability
  • 3. Install Ansible
  • 4. Verify Ansible Installation
  • Additional Information
  • Verify Installed
  • Updating Ansible
Introduction Ansible is a powerful open-source automation tool that simplifies the configuration management, application deployment, and task automation processes. In this guide, we will walk through the steps to install Ansible on a Fedora 39 system. At the moment the following versions are available for `ansible-core` 2.16.0 and `ansible` 9.0.0. See also: [Ansible terminology - ansible vs ansible-core packages](/articles/ansible-terminology-ansible-vs-ansible-core-packages). Prerequisites Before you begin, make sure you have: - Access to a Fedora 39 system. - `sudo` or `root` privileges on the system. Installation Steps 1. Update the System Ensure your system is up to date by running the following commands: ```bash sudo dnf update ``` 2. Check Ansible Availability Verify if Ansible is already installed by running: ```bash ansible --version ``` If Ansible is not installed, the command will return `bash: ansible: command not found.` ```bash bash: ansible: command not found... Install package 'ansible-core' to provide command 'ansible'? [N/y] ``` 3. Install Ansible To install Ansible, run the following command: ```bash sudo dnf install ansible ``` You may be prompted to confirm the installation. Type 'y' and press Enter. ```bash Dependencies resolved. ========================================================================================= Package Architecture Version Repository Size ========================================================================================= Installing: ansible noarch 9.0.0~a1-1.fc39 fedora 47 M Installing dependencies: ansible-core noarch 2.16.0~b2-1.fc39 fedora 3.7 M libdnf5 aarch64 5.1.5-1.fc39 updates 818 k python3-jinja2 noarch 3.1.2-5.fc39 fedora 506 k python3-resolvelib noarch 0.5.5-9.fc39 fedora 42 k Installing weak dependencies: python3-libdnf5 aarch64 5.1.5-1.fc39 updates 1.3 M Transaction Summary ========================================================================================= Install 6 Packages Total download size: 53 M Installed size: 460 M Is this ok [y/N]: y Downloading Packages: (1/6): python3-jinja2-3.1.2-5.fc39.noarch.rpm 1.2 MB/s | 506 kB 00:00 (2/6): python3-resolvelib-0.5.5-9.fc39.noarch.rpm 1.2 MB/s | 42 kB 00:00 (3/6): ansible-core-2.16.0~b2-1.fc39.noarch.rpm 3.2 MB/s | 3.7 MB 00:01 (4/6): python3-libdnf5-5.1.5-1.fc39.aarch64.rpm 2.0 MB/s | 1.3 MB 00:00 (5/6): libdnf5-5.1.5-1.fc39.aarch64.rpm 189 kB/s | 818 kB 00:04 (6/6): ansible-9.0.0~a1-1.fc39.noarch.rpm 321 kB/s | 47 MB 02:30 ------------------------------------------------------------------------------

About this tutorial

  • Author: Luca Berton
  • Difficulty: Advanced
  • Read time: 5 min
  • Category: installation

Topics covered

Related video tutorials