How to Install Ansible on Ubuntu 22.04

Опубликовано: 03 Октябрь 2024
на канале: Roger Perkin
3,919
41

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
   • How to Install Ansible on Ubuntu 22.04  

2. Backup Cisco Nexus Config with Ansible
   • Simple Ansible Playbook Example to Ba...  

3. Push Code to GitHub for the first time
   • Push Code to GitHub for the First Tim...  

4. Ansible Jinja2 Template Example
   • Video  

The reference documentation is here:
https://docs.ansible.com/ansible/late...

Reference blog post:
https://www.rogerperkin.co.uk/network...

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:
https://www.rogerperkin.co.uk/

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
https://www.youtube.com/rogerperkin/?...