You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2020/01/24 22:01:51 UTC
[airavata] branch master updated: Ansible: require that external be
defined and non empty
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/master by this push:
new f6178d0 Ansible: require that external be defined and non empty
f6178d0 is described below
commit f6178d0a1754e9a2e5ef24fa2ad4520595067113
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Fri Jan 24 17:01:31 2020 -0500
Ansible: require that external be defined and non empty
---
dev-tools/ansible/roles/django/templates/settings_local.py.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-tools/ansible/roles/django/templates/settings_local.py.j2 b/dev-tools/ansible/roles/django/templates/settings_local.py.j2
index 1f5c1cb..871c320 100644
--- a/dev-tools/ansible/roles/django/templates/settings_local.py.j2
+++ b/dev-tools/ansible/roles/django/templates/settings_local.py.j2
@@ -88,7 +88,7 @@ AUTHENTICATION_OPTIONS = {
{% endif %}
},
{% endif %}
- {% if auth_options.external is defined %}
+ {% if auth_options.external is defined and auth_options.external %}
'external': [
{% for external in auth_options.external %}
{