summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorStefanie Forrester <sedgar@redhat.com>2015-08-13 12:14:02 -0700
committerStefanie Forrester <sedgar@redhat.com>2015-08-13 12:14:02 -0700
commit089d368d2976818d08c656f45711e25e70cf7a35 (patch)
treebccf87f89d209621dbeebfdb1f281a70099fc8fa /roles
parent6248101e89cb2feb63692b7ff396d2cf4f6466fb (diff)
downloadopenshift-089d368d2976818d08c656f45711e25e70cf7a35.tar.gz
openshift-089d368d2976818d08c656f45711e25e70cf7a35.tar.bz2
openshift-089d368d2976818d08c656f45711e25e70cf7a35.tar.xz
openshift-089d368d2976818d08c656f45711e25e70cf7a35.zip
make sure that number is an int
Diffstat (limited to 'roles')
-rw-r--r--roles/fluentd_master/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/fluentd_master/tasks/main.yml b/roles/fluentd_master/tasks/main.yml
index 9c21c06fe..d592dc306 100644
--- a/roles/fluentd_master/tasks/main.yml
+++ b/roles/fluentd_master/tasks/main.yml
@@ -40,7 +40,7 @@
mode: 0444
- name: "Pause before restarting td-agent and openshift-master, depending on the number of nodes."
- pause: seconds={{ ( num_nodes|int < 3 ) | ternary(15, (num_nodes * 5)) }}
+ pause: seconds={{ ( num_nodes|int < 3 ) | ternary(15, (num_nodes|int * 5)) }}
- name: ensure td-agent is running
service: