summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-02 15:47:53 -0700
committerGitHub <noreply@github.com>2017-10-02 15:47:53 -0700
commit2ef3838f922b1cbeacbeb78b27a2bd975eb19560 (patch)
treee886a6f3e92ceae52f0e71b5b58e4ec1c63a6f8b /roles/openshift_metrics
parentd937aa5981afa9133b1a160329d36b763803f402 (diff)
parente99b0d8cc868f245cd499f6383eca0b70ac693c7 (diff)
downloadopenshift-2ef3838f922b1cbeacbeb78b27a2bd975eb19560.tar.gz
openshift-2ef3838f922b1cbeacbeb78b27a2bd975eb19560.tar.bz2
openshift-2ef3838f922b1cbeacbeb78b27a2bd975eb19560.tar.xz
openshift-2ef3838f922b1cbeacbeb78b27a2bd975eb19560.zip
Merge pull request #5600 from ewolinetz/bz1496352
Automatic merge from submit-queue. Reverting using uninstall variables for logging and metrics Reverting using `uninstall` variables for logging and metrics. Addresses bug and comments in https://bugzilla.redhat.com/show_bug.cgi?id=1496352
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r--roles/openshift_metrics/defaults/main.yaml1
-rw-r--r--roles/openshift_metrics/tasks/main.yaml2
2 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_metrics/defaults/main.yaml b/roles/openshift_metrics/defaults/main.yaml
index 084b734ee..8da74430f 100644
--- a/roles/openshift_metrics/defaults/main.yaml
+++ b/roles/openshift_metrics/defaults/main.yaml
@@ -1,7 +1,6 @@
---
openshift_metrics_start_cluster: True
openshift_metrics_install_metrics: False
-openshift_metrics_uninstall_metrics: False
openshift_metrics_startup_timeout: 500
openshift_metrics_hawkular_replicas: 1
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml
index c92458c50..10509fc1e 100644
--- a/roles/openshift_metrics/tasks/main.yaml
+++ b/roles/openshift_metrics/tasks/main.yaml
@@ -49,7 +49,7 @@
- include: uninstall_metrics.yaml
when:
- - openshift_metrics_uninstall_metrics | bool
+ - not openshift_metrics_install_metrics | bool
- include: uninstall_hosa.yaml
when: not openshift_metrics_install_hawkular_agent | bool