2016-03-29 20:50:22 +08:00
|
|
|
---
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_auth_url value
|
2016-03-29 20:50:22 +08:00
|
|
|
fail:
|
|
|
|
msg: "openstack_auth_url is missing"
|
2019-04-29 14:00:20 +08:00
|
|
|
when: openstack_auth_url is not defined or not openstack_auth_url
|
2016-03-29 20:50:22 +08:00
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_username value
|
2016-03-29 20:50:22 +08:00
|
|
|
fail:
|
|
|
|
msg: "openstack_username is missing"
|
2019-04-29 14:00:20 +08:00
|
|
|
when: openstack_username is not defined or not openstack_username
|
2016-03-29 20:50:22 +08:00
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_password value
|
2016-03-29 20:50:22 +08:00
|
|
|
fail:
|
|
|
|
msg: "openstack_password is missing"
|
2019-04-29 14:00:20 +08:00
|
|
|
when: openstack_password is not defined or not openstack_password
|
2016-03-29 20:50:22 +08:00
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_region value
|
2016-03-29 20:50:22 +08:00
|
|
|
fail:
|
|
|
|
msg: "openstack_region is missing"
|
2019-04-29 14:00:20 +08:00
|
|
|
when: openstack_region is not defined or not openstack_region
|
2016-03-29 20:50:22 +08:00
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_tenant_id value
|
2016-03-29 20:50:22 +08:00
|
|
|
fail:
|
2018-08-21 00:51:25 +08:00
|
|
|
msg: "one of openstack_tenant_id or openstack_trust_id must be specified"
|
2019-04-29 14:00:20 +08:00
|
|
|
when:
|
|
|
|
- openstack_tenant_id is not defined or not openstack_tenant_id
|
|
|
|
- openstack_trust_id is not defined
|
2018-08-21 00:51:25 +08:00
|
|
|
|
2023-07-26 22:36:22 +08:00
|
|
|
- name: Check openstack_trust_id value
|
2018-08-21 00:51:25 +08:00
|
|
|
fail:
|
|
|
|
msg: "one of openstack_tenant_id or openstack_trust_id must be specified"
|
2019-04-29 14:00:20 +08:00
|
|
|
when:
|
|
|
|
- openstack_trust_id is not defined or not openstack_trust_id
|
|
|
|
- openstack_tenant_id is not defined
|