summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-controller/tasks/main.yml
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-10-13 23:49:44 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-10-13 23:49:44 +0800
commita682e18d16a7e8862bd0e10882cbe1f197973d3b (patch)
tree38d55e28f6b0ca4108326050d5533b0084874f7e /deploy/adapters/ansible/roles/nova-controller/tasks/main.yml
parentcb004d80668a6bf63e208e81bf3c4fa86d889dcf (diff)
bugfix: generate config file error
JIRA: COMPASS-95 Change-Id: I223e8afbb909be72937f159d766817803b3c2ab6 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-controller/tasks/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/nova-controller/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/nova-controller/tasks/main.yml b/deploy/adapters/ansible/roles/nova-controller/tasks/main.yml
index de2563d7..da820c35 100644
--- a/deploy/adapters/ansible/roles/nova-controller/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/nova-controller/tasks/main.yml
@@ -6,6 +6,7 @@
- nova
- include: nova_config.yml
+ when: inventory_hostname == groups['controller'][0]
tags:
- config
- nova_config