aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-03-23 18:16:04 -0400
committerSteven Dake <stdake@cisco.com>2016-03-23 18:20:49 -0400
commit0d2591dc30ac4d7c53b03d77006623a2162509fd (patch)
tree1f7fdd5151fa338742e39c34dbc54e1c6c3d450d
parent3a7445677fd9965a1bf95f9aef5d52b93d3c7ddd (diff)
downloadkolla-0d2591dc30ac4d7c53b03d77006623a2162509fd.tar.gz
kolla-0d2591dc30ac4d7c53b03d77006623a2162509fd.zip
Reduce log errors from heka
Heka depends on haproxy and keepaived being present to communicate with ElasticSearch. If we start ElasticSearch prior to haproxy and keepalived, the number of errors are reduced in heka. Change-Id: Id2c742ea572c6450a371421e21f34aa69355bb8b Partial-Bug: #1560779
-rw-r--r--ansible/site.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
index c225c9452..ed66ece4a 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -8,6 +8,12 @@
tags: ceph,
when: enable_ceph | bool }
+- hosts: elasticsearch
+ roles:
+ - { role: elasticsearch,
+ tags: elasticsearch,
+ when: enable_central_logging | bool }
+
- hosts:
- cinder-api
- glance-api
@@ -32,12 +38,6 @@
tags: kibana,
when: enable_central_logging | bool }
-- hosts: elasticsearch
- roles:
- - { role: elasticsearch,
- tags: elasticsearch,
- when: enable_central_logging | bool }
-
- hosts: memcached
roles:
- { role: memcached,