Move add-apt-repository to startup
[sdnc/oam.git] / installation / ansible-server / src / main / scripts / startAnsibleServer.sh
index 67af962..643bbab 100644 (file)
@@ -5,6 +5,10 @@ then
        pip install PyMySQL
        pip install cherrypy
        pip install requests
+
+    apt-get -y install software-properties-common
+    apt-add-repository -y ppa:ansible/ansible
+    apt-get -y install ansible
        date > /tmp/.ansible-server-installed 2>&1
 fi