summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_logging/tasks/main.yaml
diff options
context:
space:
mode:
authorJohn Kwiatkoski <jkwiatko@redhat.com>2016-03-22 14:48:31 -0400
committerJohn Kwiatkoski <jkwiatko@redhat.com>2016-03-22 14:48:31 -0400
commit7fa2d035c9f2051e5e07134522871ea23f85e52c (patch)
tree75c23b64c8b2592d5e6ac4babde0eb8f09e888e5 /roles/openshift_hosted_logging/tasks/main.yaml
parentea71f3a00c1749e43cba6b821480a5966bbfc22e (diff)
downloadopenshift-7fa2d035c9f2051e5e07134522871ea23f85e52c.tar.gz
openshift-7fa2d035c9f2051e5e07134522871ea23f85e52c.tar.bz2
openshift-7fa2d035c9f2051e5e07134522871ea23f85e52c.tar.xz
openshift-7fa2d035c9f2051e5e07134522871ea23f85e52c.zip
revised and restructured logging role
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