From 555ab6db54423fde7440e8ca4178d44a442f32f2 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Fri, 17 Jun 2016 11:59:54 -0400 Subject: Add 30 second pause before retrying to start the node --- roles/openshift_node/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles') diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index b5393e3cf..6aac0dc21 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -119,6 +119,11 @@ register: node_start_result ignore_errors: yes +- name: Wait 30 seconds for docker initialization whenever node has failed + pause: + seconds: 30 + when: node_start_result | failed + - name: Start and enable node again service: name={{ openshift.common.service_type }}-node enabled=yes state=started register: node_start_result -- cgit v1.2.3