Provide symlink to old ansible root 15/78015/2
authorTimoney, Dan (dt5972) <dtimoney@att.com>
Wed, 6 Feb 2019 22:14:45 +0000 (17:14 -0500)
committerTimoney, Dan (dt5972) <dtimoney@att.com>
Thu, 7 Feb 2019 13:12:59 +0000 (08:12 -0500)
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>
ansible-server/src/main/Dockerfile

index 0555e7d..e0abb04 100644 (file)
@@ -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"]

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use