소스 검색

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