From 13614e37e5e3fd0c69b48c0ac53307f8d69ec796 Mon Sep 17 00:00:00 2001 From: Michael Gugino Date: Fri, 19 Jan 2018 15:00:02 -0500 Subject: Fix etcd-upgrade sanity checks This commit ensures that only oo_etcd_to_config and oo_masters_to_config are checked during sanity_checks. This will prevent hosts that have not had facts gathered (such as nodes) will not be processed for correct inventory and runtime facts. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1536317 --- playbooks/openshift-etcd/upgrade.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'playbooks/openshift-etcd') diff --git a/playbooks/openshift-etcd/upgrade.yml b/playbooks/openshift-etcd/upgrade.yml index b1ce6b220..77999d92c 100644 --- a/playbooks/openshift-etcd/upgrade.yml +++ b/playbooks/openshift-etcd/upgrade.yml @@ -3,5 +3,6 @@ vars: skip_verison: True l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config" + l_sanity_check_hosts: "{{ groups['oo_etcd_to_config'] | union(groups['oo_masters_to_config']) }}" - import_playbook: private/upgrade_main.yml -- cgit v1.2.3