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/repos.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/repos.yml')
-rw-r--r-- | playbooks/init/repos.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/init/repos.yml b/playbooks/init/repos.yml index 667f38ddd..655a7e83a 100644 --- a/playbooks/init/repos.yml +++ b/playbooks/init/repos.yml @@ -1,6 +1,8 @@ --- +# l_scale_up_hosts may be passed in via prerequisites.yml during scaleup plays. + - name: Setup yum repositories for all hosts - hosts: oo_all_hosts + hosts: "{{ l_scale_up_hosts | default('oo_all_hosts') }}" gather_facts: no tasks: - name: subscribe instances to Red Hat Subscription Manager |