How to install Ansible on Windows using WSL (Step by Step)

preview_player
Показать описание
In this video, I talk about how to install Ansible on Windows using WSL step by step:

Step 1: Update Package Lists
• Update the Package Manager:
o Open your Ubuntu terminal and run:
sudo apt update
sudo apt upgrade -y
o This updates and upgrades the list of available packages and their versions.
Step 2: Install Required Packages
• Install Software Properties:
o Install the software-properties-common package:
sudo apt install software-properties-common
Step 3: Add Ansible PPA (Personal Package Archive)
• Add the Ansible Repository:
o Run the following command to add the Ansible repository:
sudo add-apt-repository --yes --update ppa:ansible/ansible
Step 4: Install Ansible
• Install Ansible:
o Now, install Ansible with:
sudo apt install ansible -y

Step 5: Verify Installation
• Check Ansible Version:
o To confirm that Ansible is installed correctly, run:
ansible --version

References:

#networkautomation #ansible #wsl
Рекомендации по теме