diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-01-18 15:12:35 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-01-18 16:26:50 -0500 |
commit | 6646d0275739585f5c1ad59e6b27c01fbc374e02 (patch) | |
tree | 6ad6096f5fef4aee743f2fa10323afcb0bf7d1ba /playbooks/init/base_packages.yml | |
parent | 2efead33407ed6124eae589026d3ba539a6bd8e5 (diff) | |
download | openshift-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/base_packages.yml')
-rw-r--r-- | playbooks/init/base_packages.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/init/base_packages.yml b/playbooks/init/base_packages.yml index 15b3dd492..e1052fb6c 100644 --- a/playbooks/init/base_packages.yml +++ b/playbooks/init/base_packages.yml @@ -1,6 +1,8 @@ --- +# l_scale_up_hosts may be passed in via prerequisites.yml during scaleup plays. + - name: Install packages necessary for installer - hosts: oo_all_hosts + hosts: "{{ l_scale_up_hosts | default('oo_all_hosts') }}" any_errors_fatal: true tasks: - when: |