summaryrefslogtreecommitdiffstats
path: root/roles/fluentd_master
diff options
context:
space:
mode:
authorStefanie Forrester <chloe.tara@gmail.com>2015-08-06 10:10:39 -0700
committerStefanie Forrester <chloe.tara@gmail.com>2015-08-06 10:10:39 -0700
commit241c72fd9da9ddb3f4ac8b3d795fb822482c07ad (patch)
tree3b9e835495f20324a5aa61723b5eab0cd503e618 /roles/fluentd_master
parentd9263283e900e3000bc8697d02851564caeab334 (diff)
parentdf66357b3fd652344a0dcb02a9789415d78f6846 (diff)
downloadopenshift-241c72fd9da9ddb3f4ac8b3d795fb822482c07ad.tar.gz
openshift-241c72fd9da9ddb3f4ac8b3d795fb822482c07ad.tar.bz2
openshift-241c72fd9da9ddb3f4ac8b3d795fb822482c07ad.tar.xz
openshift-241c72fd9da9ddb3f4ac8b3d795fb822482c07ad.zip
Merge pull request #431 from dak1n1/tdagent_pause
added pause before td-agent restart
Diffstat (limited to 'roles/fluentd_master')
-rw-r--r--roles/fluentd_master/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/fluentd_master/tasks/main.yml b/roles/fluentd_master/tasks/main.yml
index d828db52a..0fcd1c65c 100644
--- a/roles/fluentd_master/tasks/main.yml
+++ b/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'