From 8ac3f668addaf53f9b6ad4dbae0fd28938ba0a42 Mon Sep 17 00:00:00 2001 From: Aaron Hay Date: Fri, 5 Oct 2018 18:49:18 +0000 Subject: Add ansible server for APPC Add necessary HEAT template parameters to support installation of the ansible server in APPC. Change-Id: Ic97b08f1bb2351704284bf0c6bf4ebc427510552 Issue-ID: APPC-1168 Signed-off-by: Aaron Hay --- heat/ONAP/cloud-config/appc_vm_init.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'heat/ONAP/cloud-config/appc_vm_init.sh') diff --git a/heat/ONAP/cloud-config/appc_vm_init.sh b/heat/ONAP/cloud-config/appc_vm_init.sh index 647e9597..8c14398b 100644 --- a/heat/ONAP/cloud-config/appc_vm_init.sh +++ b/heat/ONAP/cloud-config/appc_vm_init.sh @@ -5,6 +5,7 @@ NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt) export NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt) DMAAP_TOPIC=$(cat /opt/config/dmaap_topic.txt) DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt) +ANSIBLE_DOCKER_IMAGE_VERSION=$(cat /opt/config/ansible_version.txt) DGBUILDER_IMAGE_VERSION=$(cat /opt/config/dgbuilder_version.txt) export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) @@ -19,6 +20,10 @@ docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO docker pull $NEXUS_DOCKER_REPO/onap/appc-image:$DOCKER_IMAGE_VERSION docker tag $NEXUS_DOCKER_REPO/onap/appc-image:$DOCKER_IMAGE_VERSION onap/appc-image:latest + +docker pull $NEXUS_DOCKER_REPO/onap/ccsdk-ansible-server-image:$ANSIBLE_DOCKER_IMAGE_VERSION +docker tag $NEXUS_DOCKER_REPO/onap/ccsdk-ansible-server-image:$ANSIBLE_DOCKER_IMAGE_VERSION onap/ccsdk-ansible-server-image:latest + docker pull $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image:$DGBUILDER_IMAGE_VERSION docker tag $NEXUS_DOCKER_REPO/onap/ccsdk-dgbuilder-image:$DGBUILDER_IMAGE_VERSION onap/ccsdk-dgbuilder-image:latest -- cgit 1.2.3-korg