diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-02-09 16:14:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 16:14:03 -0800 |
commit | 64a6974ced70b17c34016732ae75b428d5925765 (patch) | |
tree | 874161dc88c561bc89608622d607b8f39834a68f /playbooks/openshift-etcd/config.yml | |
parent | e0f0c9f85c6cd18cfac505394ac84926c4629c4c (diff) | |
parent | 70957a529da6b00c3c614f4f1b1f04385e0ef61a (diff) | |
download | openshift-64a6974ced70b17c34016732ae75b428d5925765.tar.gz openshift-64a6974ced70b17c34016732ae75b428d5925765.tar.bz2 openshift-64a6974ced70b17c34016732ae75b428d5925765.tar.xz openshift-64a6974ced70b17c34016732ae75b428d5925765.zip |
Merge pull request #7078 from mgugino-upstream-stage/limit-hosts
Automatic merge from submit-queue.
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/config.yml')
-rw-r--r-- | playbooks/openshift-etcd/config.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/playbooks/openshift-etcd/config.yml b/playbooks/openshift-etcd/config.yml index c7814207c..378edce85 100644 --- a/playbooks/openshift-etcd/config.yml +++ b/playbooks/openshift-etcd/config.yml @@ -1,4 +1,10 @@ --- - import_playbook: ../init/main.yml + vars: + skip_version: True + l_openshift_version_set_hosts: "all:!all" + l_openshift_version_check_hosts: "all:!all" + l_init_fact_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config" + l_sanity_check_hosts: "{{ groups['oo_etcd_to_config'] | union(groups['oo_masters_to_config']) }}" - import_playbook: private/config.yml |