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. --- playbooks/common/openshift-cluster/initialize_facts.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'playbooks/common/openshift-cluster') diff --git a/playbooks/common/openshift-cluster/initialize_facts.yml b/playbooks/common/openshift-cluster/initialize_facts.yml index 6d83d2527..18f99728c 100644 --- a/playbooks/common/openshift-cluster/initialize_facts.yml +++ b/playbooks/common/openshift-cluster/initialize_facts.yml @@ -1,7 +1,11 @@ --- +- name: Ensure that all non-node hosts are accessible + hosts: oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config:oo_nfs_to_config + any_errors_fatal: true + tasks: + - name: Initialize host facts hosts: oo_all_hosts - any_errors_fatal: true roles: - openshift_facts tasks: -- cgit v1.2.3