c12s-kubespray/roles/kubernetes/common/tasks/openstack-credential-check.yml
Paul Czarkowski 49488e1a86 improve composability
* remove need for `k8s-cluster` parent group
* rename kubernetes/preinstall to kubernetes/common
* make kubernetes/common a dep for both node and master
* move all kubernetes defaults to kubernetes/common
* had python errors with new apps role ... feature flagged it off
2016-07-04 10:19:27 +02:00

25 lines
774 B
YAML

---
- name: check openstack_auth_url value
fail:
msg: "openstack_auth_url is missing"
when: openstack_auth_url is not defined or openstack_auth_url == ""
- name: check openstack_username value
fail:
msg: "openstack_username is missing"
when: openstack_username is not defined or openstack_username == ""
- name: check openstack_password value
fail:
msg: "openstack_password is missing"
when: openstack_password is not defined or openstack_password == ""
- name: check openstack_region value
fail:
msg: "openstack_region is missing"
when: openstack_region is not defined or openstack_region == ""
- name: check tenant_id value
fail:
msg: "tenant_id is missing"
when: openstack_tenant_id is not defined or openstack_tenant_id == ""