aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorchigang <chigang@huawei.com>2017-07-26 17:19:30 +0800
committerchigang <chigang@huawei.com>2017-07-28 09:22:13 +0800
commit1edb67f913276eec2dad1adae80a3ac3d9a5356c (patch)
treedc3c6c7f68b3f5c22ad9a99973de84375899afc0 /deploy/adapters/ansible
parentef15f07cc10f92ba07fb22d257ccbde7fab9a51d (diff)
Add moonv4 into Compass4nfv
JIRA:- To deploy moon master, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip" To deploy moon slave, export MOON_CFG env like below compass deploy: export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip" Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r--deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
index 3691a921..40c70ac3 100644
--- a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
+++ b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml
@@ -35,3 +35,8 @@
- setup-openvswitch
- setup-opendaylight
- post-openstack
+
+- hosts: moon
+ remote_user: root
+ roles:
+ - moon