summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorStefanie Forrester <sedgar@redhat.com>2015-08-06 09:41:23 -0700
committerStefanie Forrester <sedgar@redhat.com>2015-08-06 09:42:17 -0700
commitdf66357b3fd652344a0dcb02a9789415d78f6846 (patch)
tree6d8e482a40a441bbec48f65ce8a412a645f1e5fa /roles
parent23bbc96a8161c09dbaf9046561eb63c8051480a7 (diff)
downloadopenshift-df66357b3fd652344a0dcb02a9789415d78f6846.tar.gz
openshift-df66357b3fd652344a0dcb02a9789415d78f6846.tar.bz2
openshift-df66357b3fd652344a0dcb02a9789415d78f6846.tar.xz
openshift-df66357b3fd652344a0dcb02a9789415d78f6846.zip
added pause before td-agent restart
Diffstat (limited to 'roles')
-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'