Browse Source

added pause before td-agent restart

Stefanie Forrester 9 years ago
parent
commit
df66357b3f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      roles/fluentd_master/tasks/main.yml

+ 3 - 0
roles/fluentd_master/tasks/main.yml

@@ -39,6 +39,9 @@
     owner: 'td-agent'
     mode: 0444
 
+- name: "Pause before restarting td-agent, since openshift-master needs more time to start"
+  pause: seconds=20
+
 - name: ensure td-agent is running
   service:
     name: 'td-agent'