Fix some bugs about ansible deployment
[stor4nfv.git] / ci / ansible / site.yml
old mode 100755 (executable)
new mode 100644 (file)
index ea43610..f2dc07c
@@ -1,18 +1,37 @@
----
-# Defines deployment design and assigns role to server groups
-
-- name: deploy an opensds local cluster
-  hosts: all
-  remote_user: root
-  vars_files:
-    - group_vars/common.yml
-    - group_vars/osdsdb.yml
-    - group_vars/osdslet.yml
-    - group_vars/osdsdock.yml
-  gather_facts: false
-  become: True
-  roles:
-    - common
-    - osdsdb
-    - osdslet
-    - osdsdock
+# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.\r
+#\r
+# Licensed under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
+# You may obtain a copy of the License at\r
+#\r
+#     http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+# Unless required by applicable law or agreed to in writing, software\r
+# distributed under the License is distributed on an "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
+# limitations under the License.\r
+\r
+---\r
+# Defines deployment design and assigns role to server groups\r
+\r
+- name: deploy an opensds local cluster\r
+  hosts: all\r
+  remote_user: root\r
+  vars_files:\r
+    - group_vars/common.yml\r
+    - group_vars/auth.yml\r
+    - group_vars/osdsdb.yml\r
+    - group_vars/osdslet.yml\r
+    - group_vars/osdsdock.yml\r
+    - group_vars/dashboard.yml\r
+  gather_facts: false\r
+  become: True\r
+  roles:\r
+    - common\r
+    - osdsauth\r
+    - osdsdb\r
+    - osdslet\r
+    - osdsdock\r
+    - dashboard-installer\r
+    - nbp-installer\r