Skip to content

Recommended way to install Ansible on Debian, Rocky, openSUSE Leap or Ubuntu

Notifications You must be signed in to change notification settings

ansible-buch/install-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Recommended way to install an Ansible Community Package

Debian 12/11

apt update
apt install ansible

Rocky Linux 9/8

dnf install epel-release
dnf install ansible

openSUSE Leap 15

zypper install ansible

Ubuntu 24.04/22.04 LTS

sudo apt update
sudo apt install ansible

Versions

If you choose the distribution package as described, you will get the following version of Ansible:

Distribution Ansible Version
Debian 12 7.3.0
Debian 11 2.10.8
Rocky 9 7.7.0
Rocky 8 8.3.0
openSUSE Leap 15 2.9.27
Ubuntu 24.04 9.2.0
Ubuntu 22.04 2.10.8

On systems with outdated versions (such like openSUSE) you may prefer the installation via Python PIP:

  1. Install the python3-pip distribution package
  2. pip3 install ansible

Even this will not always get you the newest version, because newer Ansible versions require newer versions of Python!

About

Recommended way to install Ansible on Debian, Rocky, openSUSE Leap or Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published