[re2o] Select optional apps
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
16cf470df5
commit
55c46352f9
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue