diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-11-18 11:20:03 -0500 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-11-18 11:20:03 -0500 |
commit | fbe096eb1e1da94d0a1b9aae55c28db3277c0191 (patch) | |
tree | 6ef86ee8d8144c113eecd4705b0c88bec9aba45f /roles | |
parent | 526a4b786c124aed2c218f434cf035133d6eb1bf (diff) | |
download | openshift-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')
-rw-r--r-- | roles/openshift_manage_node/tasks/main.yml | 1 |
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: > |