diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-01-19 15:00:02 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-01-19 17:24:20 -0500 |
commit | 13614e37e5e3fd0c69b48c0ac53307f8d69ec796 (patch) | |
tree | c0ac6ab3f97439080882553d30214b1716cef853 /playbooks/openshift-etcd/upgrade.yml | |
parent | 3c1eba1488e1d3570320381ee5eee6ea760e7659 (diff) | |
download | openshift-13614e37e5e3fd0c69b48c0ac53307f8d69ec796.tar.gz openshift-13614e37e5e3fd0c69b48c0ac53307f8d69ec796.tar.bz2 openshift-13614e37e5e3fd0c69b48c0ac53307f8d69ec796.tar.xz openshift-13614e37e5e3fd0c69b48c0ac53307f8d69ec796.zip |
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
Diffstat (limited to 'playbooks/openshift-etcd/upgrade.yml')
-rw-r--r-- | playbooks/openshift-etcd/upgrade.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |