diff options
-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: |