summaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-10-18 08:51:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-18 08:51:57 +0000
commit5f7b6c061485815bdae21223ee19779a2f90d1d3 (patch)
tree9b9ee92e4e05d7f92c6ef3fa3cfccd0d0a5dd9a8 /resources/ansible_roles
parent344c40c9d0bc196dafae385b3c6536ce1640ebfd (diff)
parent3e37e4108c95100a7b7944e011f2a2cba11ffa4e (diff)
Merge "Add support for Mirantis Cloud Platform."
Diffstat (limited to 'resources/ansible_roles')
-rw-r--r--resources/ansible_roles/qtip-generator/defaults/main.yml1
-rw-r--r--resources/ansible_roles/qtip-generator/files/compute/group_vars/all.yml1
-rw-r--r--resources/ansible_roles/qtip/tasks/gather-facts-mcp.yml14
3 files changed, 16 insertions, 0 deletions
diff --git a/resources/ansible_roles/qtip-generator/defaults/main.yml b/resources/ansible_roles/qtip-generator/defaults/main.yml
index 527da6f7..f6714b8d 100644
--- a/resources/ansible_roles/qtip-generator/defaults/main.yml
+++ b/resources/ansible_roles/qtip-generator/defaults/main.yml
@@ -14,6 +14,7 @@ installer_group:
manual: dummy-group
fuel: fuel-masters
apex: apex-underclouds
+ mcp: salt-masters
project_name: 'qtip-project'
project_template: 'compute'
diff --git a/resources/ansible_roles/qtip-generator/files/compute/group_vars/all.yml b/resources/ansible_roles/qtip-generator/files/compute/group_vars/all.yml
index 8b90b498..efb2bdb7 100644
--- a/resources/ansible_roles/qtip-generator/files/compute/group_vars/all.yml
+++ b/resources/ansible_roles/qtip-generator/files/compute/group_vars/all.yml
@@ -20,3 +20,4 @@ installer_group:
manual: dummy-group
fuel: fuel-masters
apex: apex-underclouds
+ mcp: salt-master
diff --git a/resources/ansible_roles/qtip/tasks/gather-facts-mcp.yml b/resources/ansible_roles/qtip/tasks/gather-facts-mcp.yml
new file mode 100644
index 00000000..5aed9e75
--- /dev/null
+++ b/resources/ansible_roles/qtip/tasks/gather-facts-mcp.yml
@@ -0,0 +1,14 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+# taseer94@gmail.com
+#
+# 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: gathering facts for mcp slave nodes
+ mcp: \ No newline at end of file