How to install ansible in ubuntu?

by gabrielle.kub , in category: Installation & Upgrades , 5 months ago

How to install ansible in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by aliya.yundt , 2 months ago

@gabrielle.kub Run the following commands in your terminal to install ansible in Ubuntu:


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Update the apt package index
sudo apt-get update

# Install the software properties-common package
sudo apt-get install software-properties-common

# Add the Ansible repository
sudo add-apt-repository ppa:ansible/ansible

# Update the apt package index
sudo apt-get update

# Install the Ansible package
sudo apt-get install ansible