awx/installer/install.yml
Shane McDonald 98f5dc3fcc Consolidate OpenShift and Kubernetes roles
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 11:36:08 -04:00

10 lines
372 B
YAML

---
- name: Build and deploy AWX
hosts: all
gather_facts: false
roles:
- { role: check_vars }
- { role: image_build, when: "dockerhub_base is not defined" }
- { role: kubernetes, when: "openshift_host is defined or kubernetes_context is defined" }
- { role: local_docker, when: "openshift_host is not defined and kubernetes_context is not defined" }