Check if openstack application credentials are empty since they always exists (#8021) (#8038)

Co-authored-by: Hugo Blom <bl0m1@users.noreply.github.com>
This commit is contained in:
Kenichi Omichi 2021-09-30 08:02:08 -07:00 committed by GitHub
parent 9fafe9849b
commit 45018ac077
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
[Global]
auth-url="{{ external_openstack_auth_url }}"
{% if external_openstack_application_credential_id is not defined and external_openstack_application_credential_name is not defined %}
{% if external_openstack_application_credential_id == "" and external_openstack_application_credential_name == "" %}
username="{{ external_openstack_username }}"
password="{{ external_openstack_password }}"
{% endif %}