Add dns config, fix ansible start script
[sdnc/oam.git] / installation / ansible-server / src / main / scripts / startAnsibleServer.sh
index e9b912b..eec62ba 100644 (file)
@@ -1,7 +1,7 @@
 #/bin/bash
 exec &> /var/log/ansible-server.log
 
-if [ ! -d /tmp/.ansible-server-installed]
+if [ ! -f /tmp/.ansible-server-installed ]
 then
        pip install PyMySQL
        pip install cherrypy