summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main/scripts/startAnsibleServer.sh
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-01-29 09:30:22 -0500
committerTaka Cho <takamune.cho@att.com>2019-01-29 10:07:50 -0500
commitdc4950ba68c4c6dadd530f7f808bbb4c9458571d (patch)
tree7e521574b04db47f5a6f7d2fddd67ab3f3f43904 /ansible-server/src/main/scripts/startAnsibleServer.sh
parentdc379274e1cb70a2d7506641e4916f10f019e0fe (diff)
alpine build, implement to follow VNF anisble Req
1. change from ubuntu build to alpine build 2, follow the dir path for playbook - pls see JIRA Change-Id: Iaa2f7e3c9fc66542b1bc0751826821276f773efa Issue-ID: CCSDK-1009 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'ansible-server/src/main/scripts/startAnsibleServer.sh')
-rw-r--r--ansible-server/src/main/scripts/startAnsibleServer.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/ansible-server/src/main/scripts/startAnsibleServer.sh b/ansible-server/src/main/scripts/startAnsibleServer.sh
index 1d76b1a3..966a29a1 100644
--- a/ansible-server/src/main/scripts/startAnsibleServer.sh
+++ b/ansible-server/src/main/scripts/startAnsibleServer.sh
@@ -3,15 +3,9 @@ exec &> >(tee -a "/var/log/ansible-server.log")
if [ ! -f /tmp/.ansible-server-installed ]
then
- pip install PyMySQL
pip install 'cherrypy<18.0.0'
pip install requests
- apt-get update -y
- apt-get -y install software-properties-common
- apt-add-repository -y ppa:ansible/ansible
- apt-get -y install ansible
-
cp /etc/ansible/ansible.cfg /etc/ansible/ansible.cfg.orig
cat /etc/ansible/ansible.cfg.orig | sed -e 's/#host_key_checking/host_key_checking/' > /etc/ansible/ansible.cfg
date > /tmp/.ansible-server-installed 2>&1