summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-05-14 09:22:13 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-05-20 16:34:51 -0400
commitf870624c57685494308deceb8e53e4a69586b757 (patch)
tree387b7d2903f6545763da16975258072e6bce26f2
parent8dedb32348549d8aa279201cfb89c50d5dc83ba5 (diff)
downloadopenshift-f870624c57685494308deceb8e53e4a69586b757.tar.gz
openshift-f870624c57685494308deceb8e53e4a69586b757.tar.bz2
openshift-f870624c57685494308deceb8e53e4a69586b757.tar.xz
openshift-f870624c57685494308deceb8e53e4a69586b757.zip
BYO playbook fix
- Fix bug where playbooks/byo/config.yml would error if only a master is defined in the inventory.
-rw-r--r--playbooks/byo/config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/byo/config.yml b/playbooks/byo/config.yml
index dce49d32f..e059514db 100644
--- a/playbooks/byo/config.yml
+++ b/playbooks/byo/config.yml
@@ -1,6 +1,8 @@
---
- name: Run the openshift-master config playbook
include: openshift-master/config.yml
+ when: groups.masters is defined and groups.masters
- name: Run the openshift-node config playbook
include: openshift-node/config.yml
+ when: groups.nodes is defined and groups.nodes and groups.masters is defined and groups.masters