[CORD-1685] Adding copyright informations
Change-Id: Idd7c0723e8e7eb843eee06ef4105801a1aa708d2
diff --git a/roles/mavenrepo/tasks/main.yml b/roles/mavenrepo/tasks/main.yml
index fa501d5..08484ac 100644
--- a/roles/mavenrepo/tasks/main.yml
+++ b/roles/mavenrepo/tasks/main.yml
@@ -1,3 +1,19 @@
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
- name: Install compose for mavenrepo
become: yes
template:
diff --git a/roles/mavenrepo/templates/mavenrepo.yml.j2 b/roles/mavenrepo/templates/mavenrepo.yml.j2
index d2ab5ed..a1e16f3 100644
--- a/roles/mavenrepo/templates/mavenrepo.yml.j2
+++ b/roles/mavenrepo/templates/mavenrepo.yml.j2
@@ -1,3 +1,21 @@
+
+{#
+Copyright 2017-present Open Networking Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+#}
+
+
mavenrepo:
image: "docker-registry:5000/mavenrepo:{{ docker.image_version }}"
container_name: mavenrepo
diff --git a/roles/mavenrepo/vars/main.yml b/roles/mavenrepo/vars/main.yml
index 7f3b796..c840a78 100644
--- a/roles/mavenrepo/vars/main.yml
+++ b/roles/mavenrepo/vars/main.yml
@@ -1,3 +1,19 @@
+
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
docker:
registry: "{{ docker_registry | default('opencord') }}"
image_version: "{{ docker_image_version | default('latest') }}"