diff options
author | Rich Megginson <rmeggins@redhat.com> | 2017-02-09 13:55:40 -0500 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2017-02-09 18:23:46 -0700 |
commit | 5243b91ee3eef10cb4fa7f21d4de09c48641a0b0 (patch) | |
tree | e00b9aa0d6b6afe62586f9df77c8e59371c0830a /roles/openshift_logging/tasks/install_logging.yaml | |
parent | 9e92660ed86623385e48c4960f4db681d86a7a57 (diff) | |
download | openshift-5243b91ee3eef10cb4fa7f21d4de09c48641a0b0.tar.gz openshift-5243b91ee3eef10cb4fa7f21d4de09c48641a0b0.tar.bz2 openshift-5243b91ee3eef10cb4fa7f21d4de09c48641a0b0.tar.xz openshift-5243b91ee3eef10cb4fa7f21d4de09c48641a0b0.zip |
make sure cluster_size is an int for arith. ops
Diffstat (limited to 'roles/openshift_logging/tasks/install_logging.yaml')
-rw-r--r-- | roles/openshift_logging/tasks/install_logging.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml index d52429f03..e23c3f9f1 100644 --- a/roles/openshift_logging/tasks/install_logging.yaml +++ b/roles/openshift_logging/tasks/install_logging.yaml @@ -9,11 +9,11 @@ - name: Validate Elasticsearch cluster size fail: msg="The openshift_logging_es_cluster_size may only be scaled down manually. Please see official documentation on how to do this." - when: openshift_logging_facts.elasticsearch.deploymentconfigs | length > openshift_logging_es_cluster_size + when: openshift_logging_facts.elasticsearch.deploymentconfigs | length > openshift_logging_es_cluster_size|int - name: Validate Elasticsearch Ops cluster size fail: msg="The openshift_logging_es_ops_cluster_size may only be scaled down manually. Please see official documentation on how to do this." - when: openshift_logging_facts.elasticsearch_ops.deploymentconfigs | length > openshift_logging_es_ops_cluster_size + when: openshift_logging_facts.elasticsearch_ops.deploymentconfigs | length > openshift_logging_es_ops_cluster_size|int - name: Install logging include: "{{ role_path }}/tasks/install_{{ install_component }}.yaml" |