summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_logging/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_hosted_logging/tasks/main.yaml')
-rw-r--r--roles/openshift_hosted_logging/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_hosted_logging/tasks/main.yaml b/roles/openshift_hosted_logging/tasks/main.yaml
new file mode 100644
index 000000000..aea53804a
--- /dev/null
+++ b/roles/openshift_hosted_logging/tasks/main.yaml
@@ -0,0 +1,8 @@
+---
+- name: Cleanup logging deployment
+ include: {{ role_path }}/tasks/cleanup_logging.yaml
+ when: openshift_hosted_logging_cleanup | default(false) | bool
+
+- name: Deploy logging
+ include: {{ role_path }}/tasks/deploy_logging.yaml
+ when: not openshift_hosted_logging_cleanup | default(false) | bool