summaryrefslogtreecommitdiffstats
path: root/playbooks/init/sanity_checks.yml
diff options
context:
space:
mode:
authorMichael Gugino <gugino.michael@yahoo.com>2018-01-19 17:21:46 -0500
committerGitHub <noreply@github.com>2018-01-19 17:21:46 -0500
commit3c1eba1488e1d3570320381ee5eee6ea760e7659 (patch)
treedee97878b906bd8ceea20ee2af9737a422d7254c /playbooks/init/sanity_checks.yml
parent7ad419c31b79c85d610143f95777040db4b5b1b7 (diff)
parent6646d0275739585f5c1ad59e6b27c01fbc374e02 (diff)
downloadopenshift-3c1eba1488e1d3570320381ee5eee6ea760e7659.tar.gz
openshift-3c1eba1488e1d3570320381ee5eee6ea760e7659.tar.bz2
openshift-3c1eba1488e1d3570320381ee5eee6ea760e7659.tar.xz
openshift-3c1eba1488e1d3570320381ee5eee6ea760e7659.zip
Merge pull request #6784 from mgugino-upstream-stage/fix-node-scaleup
Fix node scaleup plays
Diffstat (limited to 'playbooks/init/sanity_checks.yml')
-rw-r--r--playbooks/init/sanity_checks.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/init/sanity_checks.yml b/playbooks/init/sanity_checks.yml
index 52bcf42c0..fbbb3f8fb 100644
--- a/playbooks/init/sanity_checks.yml
+++ b/playbooks/init/sanity_checks.yml
@@ -1,4 +1,5 @@
---
+# l_sanity_check_hosts may be passed in during scale-up plays
- name: Verify Requirements
hosts: oo_first_master
roles:
@@ -11,5 +12,5 @@
# Thus, sanity_checks cannot gather new information about any hosts.
- name: Run variable sanity checks
sanity_checks:
- check_hosts: "{{ groups['oo_all_hosts'] }}"
+ check_hosts: "{{ l_sanity_check_hosts | default(groups['oo_all_hosts']) }}"
run_once: True