Skip to content

Commit

Permalink
Merge pull request openshift#464 from dak1n1/fix_pause
Browse files Browse the repository at this point in the history
pause for a minimum of 15 seconds
  • Loading branch information
dak1n1 committed Aug 13, 2015
2 parents 1399425 + 089d368 commit 2cbba20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/fluentd_master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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|int * 5)) }}

- name: ensure td-agent is running
service:
Expand Down

0 comments on commit 2cbba20

Please sign in to comment.