-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
I am trying to instlal on a fresh Ubuntu 16.04, the following steps:
https://sonata-nfv.github.io/component_installation.
The process to install SP is the same as for version 3.0 ?
If yes, I installed first the packages mentioned at the beginning:
Create tango user
sudo adduser tango
sudo usermod -a -G sudo tango
Packages installation
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
sudo apt-get install -y git
sudo apt-get install python3
sudo apt install python3-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo pip3 install docker
Docker-ce
sudo apt-get update
sudo apt-get install
apt-transport-https
ca-certificates
curl
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"
sudo apt-get update
sudo apt-get install docker-ce
Create docker network
sudo docker network create tango
Repository cloning
git clone https://github.com/sonata-nfv/tng-devops.git
cd tng-devops
After that, I encounter the following error:
root@sonata-tango:/home/sonata/son-install# ansible-playbook utils/deploy/sp.yml -e "target=localhost public_ip=10.0.2.15"
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 40, in
from ansible.errors import AnsibleError, AnsibleOptionsError, AnsibleParserError
ImportError: No module named 'ansible'
Could you pleas help ?
Thanks !