aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/heat/tasks/main.yml
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-07-21 07:04:14 +0800
committerQiLiang <liangqi1@huawei.com>2016-07-21 07:05:35 +0800
commit3c11886942256c365ee690fbea43741ad1e34f44 (patch)
tree7ade960c44a9d6d8edf8fdc2173bb8fdb2c03bcb /deploy/adapters/ansible/roles/heat/tasks/main.yml
parent40a6c4a7c4729fedd88abf823a50807a3deba50e (diff)
Update heat db sync task
JIRA: COMPASS-442 Change-Id: Id51d8b76d62255cf91b04d4770eb9a4b307ad102 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/heat/tasks/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/heat/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/heat/tasks/main.yml b/deploy/adapters/ansible/roles/heat/tasks/main.yml
index 886907eb..8fe31c15 100644
--- a/deploy/adapters/ansible/roles/heat/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/heat/tasks/main.yml
@@ -14,7 +14,7 @@
- heat
- include: heat_config.yml
- when: HA_CLUSTER is not defined or HA_CLUSTER[inventory_hostname] == ''
+ when: inventory_hostname == groups['controller'][0]
tags:
- config
- heat_config