more-itertools version 6.0.0 is incompatible with python-2.7
importing cherrypy failes due to this.
Changed startAnsibleServ.sh to explicitly install 'more-itertools' version 5.0.0
Also added 'apt-get update' before installing software-properties-common package which failed earlier to install.
Container starts without problem after these changes
Change-Id: I030ad54bb004056846f15eebf6ae0e8b5c4ae004
Issue-ID: CCSDK-1166
Signed-off-by: Divyang Patel <divyang.patel@team.telstra.com>
if [ ! -f /tmp/.ansible-server-installed ]
then
+ pip install 'more-itertools==5.0.0'
pip install PyMySQL
pip install 'cherrypy<18.0.0'
pip install requests
+ apt-get update
apt-get -y install software-properties-common
apt-add-repository -y ppa:ansible/ansible
apt-get -y install ansible