diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-09-22 20:18:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 20:18:30 -0400 |
commit | 6bee051f9850b6393edc60860993d84cf1e38989 (patch) | |
tree | 4f9fd740df36327fe15c747d14a6a745df522172 /roles/openshift_metrics/tasks | |
parent | 4d0bbb8a0be72ca4b8008bbcce8383ea0f704377 (diff) | |
parent | 660bafe9cd0adbfa965bb3f8f31d6c043a0dc5d6 (diff) | |
download | openshift-6bee051f9850b6393edc60860993d84cf1e38989.tar.gz openshift-6bee051f9850b6393edc60860993d84cf1e38989.tar.bz2 openshift-6bee051f9850b6393edc60860993d84cf1e38989.tar.xz openshift-6bee051f9850b6393edc60860993d84cf1e38989.zip |
Merge pull request #5511 from ewolinetz/logging_metrics_default_fix
Updating default behavior for installing metrics and logging. Separat…
Diffstat (limited to 'roles/openshift_metrics/tasks')
-rw-r--r-- | roles/openshift_metrics/tasks/main.yaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml index eaabdd20f..0461039fc 100644 --- a/roles/openshift_metrics/tasks/main.yaml +++ b/roles/openshift_metrics/tasks/main.yaml @@ -43,7 +43,13 @@ check_mode: no tags: metrics_init -- include: "{{ (openshift_metrics_install_metrics | bool) | ternary('install_metrics.yaml','uninstall_metrics.yaml') }}" +- include: install_metrics.yaml + when: + - openshift_metrics_install_metrics | default(false) | bool + +- include: uninstall_metrics.yaml + when: + - openshift_metrics_uninstall_metrics | default(false) | bool - include: uninstall_hosa.yaml when: not openshift_metrics_install_hawkular_agent | bool |