summaryrefslogtreecommitdiffstats
path: root/playbooks/init/facts.yml
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-01-18 15:12:35 -0500
committerMichael Gugino <mgugino@redhat.com>2018-01-18 16:26:50 -0500
commit6646d0275739585f5c1ad59e6b27c01fbc374e02 (patch)
tree6ad6096f5fef4aee743f2fa10323afcb0bf7d1ba /playbooks/init/facts.yml
parent2efead33407ed6124eae589026d3ba539a6bd8e5 (diff)
downloadopenshift-6646d0275739585f5c1ad59e6b27c01fbc374e02.tar.gz
openshift-6646d0275739585f5c1ad59e6b27c01fbc374e02.tar.bz2
openshift-6646d0275739585f5c1ad59e6b27c01fbc374e02.tar.xz
openshift-6646d0275739585f5c1ad59e6b27c01fbc374e02.zip
Fix node scaleup plays
Currently, users have no way to run preqrequisites.yml on just newly added nodes during scaleup. This commit ensures only the new nodes are changed during scaleup as well as ensure prerequisites are run.
Diffstat (limited to 'playbooks/init/facts.yml')
-rw-r--r--playbooks/init/facts.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/init/facts.yml b/playbooks/init/facts.yml
index 8e4206948..df17c4043 100644
--- a/playbooks/init/facts.yml
+++ b/playbooks/init/facts.yml
@@ -5,9 +5,9 @@
tasks:
- name: Initialize host facts
- # 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') }}"
+ # l_init_fact_hosts is passed in via play during control-plane-only
+ # upgrades and scale-up plays; otherwise oo_all_hosts is used.
+ hosts: "{{ l_init_fact_hosts | default('oo_all_hosts') }}"
tasks:
- name: load openshift_facts module
import_role: