Skip to content
Snippets Groups Projects
Verified Commit 55c46352 authored by ynerant's avatar ynerant
Browse files

[re2o] Select optional apps


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 16cf470d
No related branches found
No related tags found
1 merge request!272Stabilize Ansible
......@@ -19,3 +19,7 @@ glob_re2o:
database:
password: "{{ vault.re2o_db_password }}"
uri: "172.16.10.1"
optional_apps:
- api
- captcha
- prefix_delegation
......@@ -21,3 +21,5 @@ loc_re2o:
database:
password: "{{ vault.re2o_db_password }}"
uri: "{{ query('ldap', 'ip', 'gulp', 'cachan-adm') | ipv4 | first }}"
optional_apps: []
......@@ -93,6 +93,6 @@ GID_RANGES = {
OPTIONNAL_APPS_RE2O = ()
# Some Django apps you want to add in you local project
OPTIONNAL_APPS = OPTIONNAL_APPS_RE2O + ('api', 'captcha', 'prefix_delegation',)
OPTIONNAL_APPS = OPTIONNAL_APPS_RE2O + ({% for app in re2o.optional_apps %}'{{ app }}', {% endfor %})
PREFIX_DELEGATION_OWNER = 'users.User'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment