Member-only story
How to install Ansible in Debian 12 bookworm — Ansible install
The easier way to install the latest version of Ansible and maintain up-to-date in Debian 12 “bookworm” using APT and the “main” default repository.
Introduction
How to install Ansible in Debian version 12 “bookworm”? Today, we will discuss the easier way to install and maintain Ansible inside Debian using the default “main” repository.
How to install Ansible in Debian
- Included in the “main” default repository
Today, we’re talking about How to install Ansible in Debian. The good news is that Ansible is included in the default repository, so you can install it simply with your usual package manager “apt.” You can expect the latest version of Ansible in the “main” repository.
Step-by-step
Install Ansible in Debian using the apt package manager and the “main” default repository.
code
- install-ansible-debian.sh
#!/bin/bash
$ sudo apt-get update
$ sudo apt-get install ansible
$ sudo apt…