InstallationΒΆ
It is recommended to run the project in the virtual environment.
Below installation process for Linux (ubuntu) server
Install python3
sudo apt install python3
Create the python virtual environment. In this example the virtual environment will be created in the folder
virtual-env/ansible
python3 -m venv ansible
Activate virtual environment.
source ansible/bin/activate
Install
pipif it is not already installed
sudo apt install pip
Install all necessary packages
pip install -r requirements.txt
Or you can do it manually
pip install ansible
pip install ansible-pylibssh
pip install paramiko
pip install pyats
pip install genie