summaryrefslogtreecommitdiffstats
path: root/roles/openshift_manage_node
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-11-18 11:20:03 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-11-18 11:20:03 -0500
commitfbe096eb1e1da94d0a1b9aae55c28db3277c0191 (patch)
tree6ef86ee8d8144c113eecd4705b0c88bec9aba45f /roles/openshift_manage_node
parent526a4b786c124aed2c218f434cf035133d6eb1bf (diff)
downloadopenshift-fbe096eb1e1da94d0a1b9aae55c28db3277c0191.tar.gz
openshift-fbe096eb1e1da94d0a1b9aae55c28db3277c0191.tar.bz2
openshift-fbe096eb1e1da94d0a1b9aae55c28db3277c0191.tar.xz
openshift-fbe096eb1e1da94d0a1b9aae55c28db3277c0191.zip
Allow ansible to continue when a node is unaccessible or fails.
Diffstat (limited to 'roles/openshift_manage_node')
-rw-r--r--roles/openshift_manage_node/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_manage_node/tasks/main.yml b/roles/openshift_manage_node/tasks/main.yml
index 28e4e46e9..15c5ab849 100644
--- a/roles/openshift_manage_node/tasks/main.yml
+++ b/roles/openshift_manage_node/tasks/main.yml
@@ -23,6 +23,7 @@
delay: 5
changed_when: false
with_items: "{{ openshift_nodes }}"
+ when: hostvars[item].openshift.node.nodename is defined
- name: Set node schedulability
command: >