summaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'installation/ansible-server/src/main/scripts')
-rw-r--r--installation/ansible-server/src/main/scripts/startAnsibleServer.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/installation/ansible-server/src/main/scripts/startAnsibleServer.sh b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh
new file mode 100644
index 00000000..67af9623
--- /dev/null
+++ b/installation/ansible-server/src/main/scripts/startAnsibleServer.sh
@@ -0,0 +1,12 @@
+#/bin/bash
+
+if [ ! -d /tmp/.ansible-server-installed]
+then
+ pip install PyMySQL
+ pip install cherrypy
+ pip install requests
+ date > /tmp/.ansible-server-installed 2>&1
+fi
+
+cd /opt/onap/sdnc
+exec python RestServer.py > RestServer.out \ No newline at end of file