diff options
author | Stefanie Forrester <chloe.tara@gmail.com> | 2015-08-07 12:58:01 -0700 |
---|---|---|
committer | Stefanie Forrester <chloe.tara@gmail.com> | 2015-08-07 12:58:01 -0700 |
commit | 550c364753e249fc87246b00df41c365d1d52d3e (patch) | |
tree | 23443ba209abd5bba7256020451c0318bda0537d /roles/fluentd_master | |
parent | 241c72fd9da9ddb3f4ac8b3d795fb822482c07ad (diff) | |
parent | 17dedcf5beebd945cf3e5ca586d1092f3b1bfb8d (diff) | |
download | openshift-550c364753e249fc87246b00df41c365d1d52d3e.tar.gz openshift-550c364753e249fc87246b00df41c365d1d52d3e.tar.bz2 openshift-550c364753e249fc87246b00df41c365d1d52d3e.tar.xz openshift-550c364753e249fc87246b00df41c365d1d52d3e.zip |
Merge pull request #435 from dak1n1/numnode_pause
take number of nodes into account when pausing
Diffstat (limited to 'roles/fluentd_master')
-rw-r--r-- | roles/fluentd_master/tasks/main.yml | 4 |
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: |