From fbe096eb1e1da94d0a1b9aae55c28db3277c0191 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Fri, 18 Nov 2016 11:20:03 -0500 Subject: Allow ansible to continue when a node is unaccessible or fails. --- roles/openshift_manage_node/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles') 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: > -- cgit v1.2.3