summaryrefslogtreecommitdiffstats
path: root/playbooks/init
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-02-08 16:55:16 -0500
committerMichael Gugino <mgugino@redhat.com>2018-02-09 10:54:00 -0500
commit70957a529da6b00c3c614f4f1b1f04385e0ef61a (patch)
treeb1f630ae8b45bbe93ccd4f91802baac468191735 /playbooks/init
parent13ebefef2b821c01c091647b2ee17c6d649d0335 (diff)
downloadopenshift-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/init')
-rw-r--r--playbooks/init/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/init/main.yml b/playbooks/init/main.yml
index 9886691e0..468d81fbe 100644
--- a/playbooks/init/main.yml
+++ b/playbooks/init/main.yml
@@ -1,5 +1,5 @@
---
-# skip_verison and l_install_base_packages are passed in via prerequistes.yml.
+# skip_version and l_install_base_packages are passed in via prerequistes.yml.
# skip_sanity_checks is passed in via openshift-node/private/image_prep.yml
- name: Initialization Checkpoint Start
@@ -27,7 +27,7 @@
- import_playbook: cluster_facts.yml
- import_playbook: version.yml
- when: not (skip_verison | default(False))
+ when: not (skip_version | default(False))
- import_playbook: sanity_checks.yml
when: not (skip_sanity_checks | default(False))