summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorJan Wozniak <jwozniak@redhat.com>2017-08-01 15:24:41 +0200
committerJan Wozniak <jwozniak@redhat.com>2017-09-26 10:50:15 +0200
commit4e30a4243a6c9692c24a574ecfd83c2bcd1e2785 (patch)
treecd85ead0fd1390f134ab9b936b8317c634a600e4 /roles/openshift_logging/tasks
parent0b84e0d47b5912afb6db4f1964cbb06defcab09f (diff)
downloadopenshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.gz
openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.bz2
openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.xz
openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.zip
logging: introducing event router
- eventrouter has its own role 'openshift_logging_eventrouter' written as a template - 'openshift_logging_install_eventrouter' controls whether it gets included in the playbook or not - deployed by default to 'default' namespace
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/delete_logging.yaml6
-rw-r--r--roles/openshift_logging/tasks/install_logging.yaml8
2 files changed, 14 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/delete_logging.yaml b/roles/openshift_logging/tasks/delete_logging.yaml
index 45298e345..3040d15ca 100644
--- a/roles/openshift_logging/tasks/delete_logging.yaml
+++ b/roles/openshift_logging/tasks/delete_logging.yaml
@@ -105,3 +105,9 @@
- logging-elasticsearch
- logging-fluentd
- logging-mux
+
+## EventRouter
+- include_role:
+ name: openshift_logging_eventrouter
+ when:
+ not openshift_logging_install_eventrouter | default(false) | bool
diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml
index de5e25061..2695ef030 100644
--- a/roles/openshift_logging/tasks/install_logging.yaml
+++ b/roles/openshift_logging/tasks/install_logging.yaml
@@ -270,4 +270,12 @@
openshift_logging_fluentd_master_url: "{{ openshift_logging_master_url }}"
openshift_logging_fluentd_namespace: "{{ openshift_logging_namespace }}"
+
+## EventRouter
+- include_role:
+ name: openshift_logging_eventrouter
+ when:
+ openshift_logging_install_eventrouter | default(false) | bool
+
+
- include: update_master_config.yaml