diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-06-17 11:59:54 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-06-17 11:59:54 -0400 |
commit | 555ab6db54423fde7440e8ca4178d44a442f32f2 (patch) | |
tree | a56be022a0f7f017d579bca7f068e60114121b94 /roles | |
parent | 02d4d3ebea97df7fb8ae33233ffb0c5fef3c5bda (diff) | |
download | openshift-555ab6db54423fde7440e8ca4178d44a442f32f2.tar.gz openshift-555ab6db54423fde7440e8ca4178d44a442f32f2.tar.bz2 openshift-555ab6db54423fde7440e8ca4178d44a442f32f2.tar.xz openshift-555ab6db54423fde7440e8ca4178d44a442f32f2.zip |
Add 30 second pause before retrying to start the node
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |