summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main/Dockerfile
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-02-06 17:14:45 -0500
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-02-07 08:12:59 -0500
commit15f406b8210d615f0191108805b0489d3aaa4a38 (patch)
tree8aa4a46abae38c37ccce206023b0981ff2eeb863 /ansible-server/src/main/Dockerfile
parent55b6a19742a02fdb854b66efac94fcb86b95378d (diff)
Provide symlink to old ansible root
For backward compatibility, provide symlink /opt/onap/ccsdk -> /opt/ansible-server in ansible server container. Change-Id: I935ded656800c6a94b0326dcdd52caaaf0c7a71a Issue-ID: CCSDK-1044 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'ansible-server/src/main/Dockerfile')
-rw-r--r--ansible-server/src/main/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible-server/src/main/Dockerfile b/ansible-server/src/main/Dockerfile
index 0555e7d9..e0abb04a 100644
--- a/ansible-server/src/main/Dockerfile
+++ b/ansible-server/src/main/Dockerfile
@@ -22,6 +22,8 @@ COPY configuration/ansible.cfg /etc/ansible/ansible.cfg
WORKDIR /opt/ansible-server
+RUN mkdir /opt/onap ; ln -s /opt/ansible-server /opt/onap/ccsdk
+
EXPOSE 8000
ENTRYPOINT ["python2", "RestServer.py"]