aboutsummaryrefslogtreecommitdiffstats
path: root/opt/infra/roles/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'opt/infra/roles/nginx')
-rw-r--r--opt/infra/roles/nginx/defaults/main.yml8
-rw-r--r--opt/infra/roles/nginx/handlers/main.yml8
-rw-r--r--opt/infra/roles/nginx/tasks/main.yml8
3 files changed, 24 insertions, 0 deletions
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