8

Installing Ansible on Ubuntu 18 on AWS

 3 years ago
source link: https://fuzzyblog.io/blog/ansible/2020/05/12/installing-ansible-on-ubuntu-18.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Installing Ansible on Ubuntu 18 on AWS

May 12, 2020

IMG_2290.jpeg

Ansible is an Open Source DevOps engine for systems configuration. Here is the process for installing Ansible on Ubuntu 18 for AWS.

sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible
sudo apt install python-pip
pip install boto3 --user 
pip install boto --user

Note: The commands pip install boto3 –user / pip install boto –user - you only need one of these. Use boto3 if your Ansible installation is using python3 and boto if your Ansible is using python 2.x.

As with a bunch of my shorter blog posts around installing software, this one is because I needed to install Ansible on a server for work and I figured that documenting it was likely useful (this is now the second time I've had to do it for this job and there will undoubtedly be a third).

Sources


Posted In: #ansible #linux #ubuntu


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK