diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-10 04:25:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 04:25:27 -0800 |
commit | aa155550a651708fcb200746ad78fb0bbf562e94 (patch) | |
tree | da835826b14c46cfa949d85faab2cf0ae1675458 /playbooks/init/facts.yml | |
parent | 3625cb596bfdeba027e9e3ed364b2102899edfcd (diff) | |
parent | a3e80f646abacc76267abf4df73bde870909aa11 (diff) | |
download | openshift-aa155550a651708fcb200746ad78fb0bbf562e94.tar.gz openshift-aa155550a651708fcb200746ad78fb0bbf562e94.tar.bz2 openshift-aa155550a651708fcb200746ad78fb0bbf562e94.tar.xz openshift-aa155550a651708fcb200746ad78fb0bbf562e94.zip |
Merge pull request #6671 from mgugino-upstream-stage/upgrade-cp-scope
Automatic merge from submit-queue.
Limit host group scope on control-plane upgrades
This commit limits common init code to exclude
oo_nodes_to_config during upgrade_control_plane runs.
Diffstat (limited to 'playbooks/init/facts.yml')
-rw-r--r-- | playbooks/init/facts.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/init/facts.yml b/playbooks/init/facts.yml index 094db845d..8e4206948 100644 --- a/playbooks/init/facts.yml +++ b/playbooks/init/facts.yml @@ -5,7 +5,9 @@ tasks: - name: Initialize host facts - hosts: oo_all_hosts + # l_upgrade_non_node_hosts is passed in via play during control-plane-only + # upgrades; otherwise oo_all_hosts is used. + hosts: "{{ l_upgrade_non_node_hosts | default('oo_all_hosts') }}" tasks: - name: load openshift_facts module import_role: |