summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefanie Forrester <sedgar@redhat.com>2015-08-07 11:49:22 -0700
committerStefanie Forrester <sedgar@redhat.com>2015-08-07 11:49:22 -0700
commit17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d (patch)
tree23443ba209abd5bba7256020451c0318bda0537d
parent241c72fd9da9ddb3f4ac8b3d795fb822482c07ad (diff)
downloadopenshift-17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d.tar.gz
openshift-17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d.tar.bz2
openshift-17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d.tar.xz
openshift-17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d.zip
take number of nodes into account when pausing
-rw-r--r--roles/fluentd_master/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/fluentd_master/tasks/main.yml b/roles/fluentd_master/tasks/main.yml
index 0fcd1c65c..d64900eb0 100644
--- a/roles/fluentd_master/tasks/main.yml
+++ b/roles/fluentd_master/tasks/main.yml
@@ -39,8 +39,8 @@
owner: 'td-agent'
mode: 0444
-- name: "Pause before restarting td-agent, since openshift-master needs more time to start"
- pause: seconds=20
+- name: "Pause before restarting td-agent and openshift-master, depending on the number of nodes."
+ pause: seconds={{ num_nodes|int * 5 }}
- name: ensure td-agent is running
service: