summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-07-27 09:11:23 -0400
committerBrenton Leanhardt <bleanhar@redhat.com>2015-07-27 09:11:23 -0400
commitbd9ec682af6bc09a7ed3101518ed0838c4e4ba24 (patch)
tree57309f744f7b66303837891d8f2b4c6b792ff91a /roles
parentcd46a239484bb67c29cdffdad01f467183ff9653 (diff)
parent73551e320e0fd9f04e358fdba47d147eb425f48b (diff)
downloadopenshift-bd9ec682af6bc09a7ed3101518ed0838c4e4ba24.tar.gz
openshift-bd9ec682af6bc09a7ed3101518ed0838c4e4ba24.tar.bz2
openshift-bd9ec682af6bc09a7ed3101518ed0838c4e4ba24.tar.xz
openshift-bd9ec682af6bc09a7ed3101518ed0838c4e4ba24.zip
Merge pull request #389 from detiber/nodeStartPause
Add a pause after node startup to prevent restart handler from interfering with sdn configuration
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index e18846db8..e84e74b40 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -71,3 +71,8 @@
- name: Start and enable openshift-node
service: name=openshift-node enabled=yes state=started
+ register: start_result
+
+- name: pause to prevent service restart from interfering with bootstrapping
+ pause: seconds=30
+ when: start_result | changed