diff --git a/group_vars/constellation.yml b/group_vars/constellation.yml index 8e223641c4af69f9128608558d55bc3bf2e8b229..76cd299a1c548569cca5f7a41c632ea3152c71f1 100644 --- a/group_vars/constellation.yml +++ b/group_vars/constellation.yml @@ -20,6 +20,7 @@ glob_constellation: user: 'constellation' password: "{{ vault.constellation_django_db_password }}" name: 'constellation' + front: True applications: - 'access' - 'billing' diff --git a/roles/constellation/templates/constellation/settings_local.py.j2 b/roles/constellation/templates/constellation/settings_local.py.j2 index 2ea12f8063eb0331f0063f88ff780b2950ca29a5..d4c6a79c0b85eb8892ab27f5933a434de25e7882 100644 --- a/roles/constellation/templates/constellation/settings_local.py.j2 +++ b/roles/constellation/templates/constellation/settings_local.py.j2 @@ -20,6 +20,9 @@ LOCAL_APPS = [ {% endfor %} ] +# Activate this option if a web front is needed +USE_FRONT = {{ constellation.front }} + # The time zone the server is runned in TIME_ZONE = 'Europe/Paris'