summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2017-09-29 11:40:16 -0500
committerEric Wolinetz <ewolinet@redhat.com>2017-09-29 11:40:16 -0500
commite99b0d8cc868f245cd499f6383eca0b70ac693c7 (patch)
tree76ac817f0dbe82ba7ffda29cbe883b73160a9cb7 /roles/openshift_logging
parent9920ea81d7f036432553921b708cf8c49ac6ea62 (diff)
downloadopenshift-e99b0d8cc868f245cd499f6383eca0b70ac693c7.tar.gz
openshift-e99b0d8cc868f245cd499f6383eca0b70ac693c7.tar.bz2
openshift-e99b0d8cc868f245cd499f6383eca0b70ac693c7.tar.xz
openshift-e99b0d8cc868f245cd499f6383eca0b70ac693c7.zip
Reverting using uninstall variables for logging and metrics
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r--roles/openshift_logging/defaults/main.yml1
-rw-r--r--roles/openshift_logging/tasks/main.yaml2
2 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_logging/defaults/main.yml b/roles/openshift_logging/defaults/main.yml
index 5574a1446..0f1f659c6 100644
--- a/roles/openshift_logging/defaults/main.yml
+++ b/roles/openshift_logging/defaults/main.yml
@@ -8,7 +8,6 @@ openshift_logging_labels: {}
openshift_logging_label_key: ""
openshift_logging_label_value: ""
openshift_logging_install_logging: False
-openshift_logging_uninstall_logging: False
openshift_logging_purge_logging: False
openshift_logging_image_pull_secret: ""
diff --git a/roles/openshift_logging/tasks/main.yaml b/roles/openshift_logging/tasks/main.yaml
index 0da9771c7..15f6a23e6 100644
--- a/roles/openshift_logging/tasks/main.yaml
+++ b/roles/openshift_logging/tasks/main.yaml
@@ -36,7 +36,7 @@
- include: delete_logging.yaml
when:
- - openshift_logging_uninstall_logging | default(false) | bool
+ - not openshift_logging_install_logging | default(false) | bool
- name: Cleaning up local temp dir
local_action: file path="{{local_tmp.stdout}}" state=absent