diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-21 15:22:44 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-21 15:25:33 +0800 |
commit | 3e443dff14a2be02b914e66f27b549d0ed4cc600 (patch) | |
tree | 704edf5368e322ca0c723425714ef4ddbf562d1c /opt | |
parent | 642ccf1b4f905d779b33b224ace16c3c0abf25a1 (diff) |
Add licence header according to OPNFV contribution guidelines[1] by script[2]
[1]: https://wiki.opnfv.org/display/DEV/Contribution+Guidelines
[2]: https://github.com/Justin-chi/Lab/blob/master/add_license.sh
Change-Id: I5b77394a104857bb4ee9addbe973ed239b7a59f3
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'opt')
-rw-r--r-- | opt/infra/roles/docker/handlers/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/docker/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/elk/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/mongo/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/nginx/defaults/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/nginx/handlers/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/nginx/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/qtip/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/testapi/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/user/defaults/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/roles/user/tasks/main.yml | 8 | ||||
-rw-r--r-- | opt/infra/test.yml | 8 |
12 files changed, 96 insertions, 0 deletions
diff --git a/opt/infra/roles/docker/handlers/main.yml b/opt/infra/roles/docker/handlers/main.yml index 985f8d41..dddbdc6b 100644 --- a/opt/infra/roles/docker/handlers/main.yml +++ b/opt/infra/roles/docker/handlers/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: starting docker service become: true diff --git a/opt/infra/roles/docker/tasks/main.yml b/opt/infra/roles/docker/tasks/main.yml index 1cf3bea0..6cf0a6b5 100644 --- a/opt/infra/roles/docker/tasks/main.yml +++ b/opt/infra/roles/docker/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## - name: adding keys become: true apt_key: keyserver=hkp://p80.pool.sks-keyservers.net id=0X58118E89F3A912897C070ADBF76221572C52609D diff --git a/opt/infra/roles/elk/tasks/main.yml b/opt/infra/roles/elk/tasks/main.yml index ed987f1a..12bc7bf6 100644 --- a/opt/infra/roles/elk/tasks/main.yml +++ b/opt/infra/roles/elk/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: pulling elasticsearch and kibana become: true diff --git a/opt/infra/roles/mongo/tasks/main.yml b/opt/infra/roles/mongo/tasks/main.yml index 81fb49b5..daa2b519 100644 --- a/opt/infra/roles/mongo/tasks/main.yml +++ b/opt/infra/roles/mongo/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: pulling mongo become: true diff --git a/opt/infra/roles/nginx/defaults/main.yml b/opt/infra/roles/nginx/defaults/main.yml index cdd1d773..9cd8a7b5 100644 --- a/opt/infra/roles/nginx/defaults/main.yml +++ b/opt/infra/roles/nginx/defaults/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- services: - { name: kibana, upstream: 'http://127.0.0.1:5601' } diff --git a/opt/infra/roles/nginx/handlers/main.yml b/opt/infra/roles/nginx/handlers/main.yml index 35585363..8bbd88c9 100644 --- a/opt/infra/roles/nginx/handlers/main.yml +++ b/opt/infra/roles/nginx/handlers/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: restart nginx become: true diff --git a/opt/infra/roles/nginx/tasks/main.yml b/opt/infra/roles/nginx/tasks/main.yml index 5c78166c..99e5678e 100644 --- a/opt/infra/roles/nginx/tasks/main.yml +++ b/opt/infra/roles/nginx/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: nginx is installed become: true diff --git a/opt/infra/roles/qtip/tasks/main.yml b/opt/infra/roles/qtip/tasks/main.yml index b8292791..cbbde6cb 100644 --- a/opt/infra/roles/qtip/tasks/main.yml +++ b/opt/infra/roles/qtip/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- # TODO:change the script to docker_container. - name: setting up qtip diff --git a/opt/infra/roles/testapi/tasks/main.yml b/opt/infra/roles/testapi/tasks/main.yml index 8ca91396..5ff176b6 100644 --- a/opt/infra/roles/testapi/tasks/main.yml +++ b/opt/infra/roles/testapi/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - name: setting up testapi become: true diff --git a/opt/infra/roles/user/defaults/main.yml b/opt/infra/roles/user/defaults/main.yml index ef496dd4..90e56b0b 100644 --- a/opt/infra/roles/user/defaults/main.yml +++ b/opt/infra/roles/user/defaults/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- users: - { name: yujunz, comment: "Yujun Zhang <zhang.yujunz@zte.com.cn>" } diff --git a/opt/infra/roles/user/tasks/main.yml b/opt/infra/roles/user/tasks/main.yml index b1b5be9b..bb4ca141 100644 --- a/opt/infra/roles/user/tasks/main.yml +++ b/opt/infra/roles/user/tasks/main.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## - name: add group qtip become: true group: name=qtip state=present diff --git a/opt/infra/test.yml b/opt/infra/test.yml index ee3ded13..c61faaf8 100644 --- a/opt/infra/test.yml +++ b/opt/infra/test.yml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 ZTE Corporation and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- - hosts: testing roles: |