diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-02-08 16:55:16 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-02-09 10:54:00 -0500 |
commit | 70957a529da6b00c3c614f4f1b1f04385e0ef61a (patch) | |
tree | b1f630ae8b45bbe93ccd4f91802baac468191735 /playbooks/openshift-etcd/scaleup.yml | |
parent | 13ebefef2b821c01c091647b2ee17c6d649d0335 (diff) | |
download | openshift-70957a529da6b00c3c614f4f1b1f04385e0ef61a.tar.gz openshift-70957a529da6b00c3c614f4f1b1f04385e0ef61a.tar.bz2 openshift-70957a529da6b00c3c614f4f1b1f04385e0ef61a.tar.xz openshift-70957a529da6b00c3c614f4f1b1f04385e0ef61a.zip |
Limit host scope during plays
Many plays only target a select subset of hosts,
especially oo_first_master for components such
as logging and registry.
This commit limits the scope of most plays to
eliminate unnecessary task execution on node
groups. This will result in great time
savings for large deployments.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1516526
Diffstat (limited to 'playbooks/openshift-etcd/scaleup.yml')
-rw-r--r-- | playbooks/openshift-etcd/scaleup.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/openshift-etcd/scaleup.yml b/playbooks/openshift-etcd/scaleup.yml index 1f8cb7391..3e2fca8d4 100644 --- a/playbooks/openshift-etcd/scaleup.yml +++ b/playbooks/openshift-etcd/scaleup.yml @@ -43,8 +43,10 @@ # prerequisites, we can just init facts as normal. - import_playbook: ../init/main.yml vars: - skip_verison: True + skip_version: True l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config:oo_new_etcd_to_config" + l_openshift_version_set_hosts: "all:!all" + l_openshift_version_check_hosts: "all:!all" when: - inventory_hostname in groups['oo_masters'] - inventory_hostname in groups['oo_nodes_to_config'] |