How to Install Ansible on Ubuntu 22.04

preview_player
Показать описание
In this video I will show you how to install Ansible on Ubuntu 22.04
Spoiler alert - the command is pip install ansible

Other Lessons:
1. How to Install Ansible on Ubunutu

2. Backup Cisco Nexus Config with Ansible

3. Push Code to GitHub for the first time

4. Ansible Jinja2 Template Example

The reference documentation is here:

Reference blog post:

Commands used:
sudo apt update && sudo apt -y upgrade

sudo apt install net-tools

sudo apt install openssh-server

sudo apt install python3-pip

sudo apt install python3-virtualenv

virtualenv -p python3.10 venv-ansible

source venv-ansible/bin/activate

pip install ansible

For more information check out my website:

00:00 Introduction
01:37 Install Pip
02:30 Install Virtualenv
03:06 Create Virtual Environment
04:45 Install Ansible
05:33 Check Ansible Version

✅ Subscribe to my Channel and get more great tips
Рекомендации по теме
Комментарии
Автор

Wow, first viewer! What do you think of using pipx to install Ansible for local user?

afara
Автор

How do you SSH w/ Visual Studio Code? Is that native?

Aqxea
Автор

make a tutorial
video on latest ubuntu version 24.04

movie_gyaan
Автор

Hi, I'm installing ansible too, but ubuntu 24, so I got this error "RuntimeError: failed to find interpreter for Builtin discover of python_spec='python3.10'", Do you have any idea why this is happening? Thank you.

simchafreiclech
Автор

What is the benefits of running ansible on virtual environment?

James-honycutt
visit shbcf.ru