浏览代码

BYO playbook fix

- Fix bug where playbooks/byo/config.yml would error if only a master is
  defined in the inventory.
Jason DeTiberus 10 年之前
父节点
当前提交
f870624c57
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      playbooks/byo/config.yml

+ 2 - 0
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