diff options
author | Stefanie Forrester <sedgar@redhat.com> | 2015-08-13 11:15:16 -0700 |
---|---|---|
committer | Stefanie Forrester <sedgar@redhat.com> | 2015-08-13 11:15:16 -0700 |
commit | 6248101e89cb2feb63692b7ff396d2cf4f6466fb (patch) | |
tree | 57b044bb55975ccf52558cd6cc9fdfdb1c771206 /roles/fluentd_master | |
parent | 1399425c70052445cc8659fd12cd19535fb95e5a (diff) | |
download | openshift-6248101e89cb2feb63692b7ff396d2cf4f6466fb.tar.gz openshift-6248101e89cb2feb63692b7ff396d2cf4f6466fb.tar.bz2 openshift-6248101e89cb2feb63692b7ff396d2cf4f6466fb.tar.xz openshift-6248101e89cb2feb63692b7ff396d2cf4f6466fb.zip |
pause for a minimum of 15 seconds
Diffstat (limited to 'roles/fluentd_master')
-rw-r--r-- | roles/fluentd_master/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/fluentd_master/tasks/main.yml b/roles/fluentd_master/tasks/main.yml index d64900eb0..9c21c06fe 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 * 5 }} + pause: seconds={{ ( num_nodes|int < 3 ) | ternary(15, (num_nodes * 5)) }} - name: ensure td-agent is running service: |