diff --git a/group_vars/constellation.yml b/group_vars/constellation.yml index 97741be92153773ac4bda255c7f8efb37fca512e..8e223641c4af69f9128608558d55bc3bf2e8b229 100644 --- a/group_vars/constellation.yml +++ b/group_vars/constellation.yml @@ -20,6 +20,16 @@ glob_constellation: user: 'constellation' password: "{{ vault.constellation_django_db_password }}" name: 'constellation' + applications: + - 'access' + - 'billing' + - 'dnsmanager' + - 'firewall' + - 'layers' + - 'management' + - 'member' + - 'topography' + - 'unix' comnpay: tpe: 'VAD-941-415' secret: '{{ vault.comnpay_secret }}' diff --git a/host_vars/constellation-dev.adm.crans.org.yml b/host_vars/constellation-dev.adm.crans.org.yml index b2c2b6c17252d7c719bb4901664cd02e19b2c587..e06871f060c12c352b6290448e3c16e1762d068e 100644 --- a/host_vars/constellation-dev.adm.crans.org.yml +++ b/host_vars/constellation-dev.adm.crans.org.yml @@ -8,6 +8,17 @@ loc_constellation: database: user: 'constellation-dev' name: 'constellation-dev' + applications: + - 'access' + - 'billing' + - 'dnsmanager' + - 'firewall' + - 'layers' + - 'management' + - 'member' + - 'topography' + - 'unix' + - 'debug' comnpay: tpe: 'HOM-832-854' secret: '{{ vault.comnpay_homologation_secret }}' diff --git a/roles/constellation/templates/constellation/settings_local.py.j2 b/roles/constellation/templates/constellation/settings_local.py.j2 index af90a1b6d4be5aa40758929d2f64e270f512e359..2ea12f8063eb0331f0063f88ff780b2950ca29a5 100644 --- a/roles/constellation/templates/constellation/settings_local.py.j2 +++ b/roles/constellation/templates/constellation/settings_local.py.j2 @@ -13,6 +13,13 @@ ADMINS = [{% for admin in constellation.admins %}{{ admin }}, {% endfor %}] # The list of hostname the server will respond to. ALLOWED_HOSTS = [{% for host in constellation.allowed_hosts %}'{{ host }}', {% endfor %}] +# Installed applications +LOCAL_APPS = [ +{% for app in constellation.applications %} + '{{ app }}', +{% endfor %} +] + # The time zone the server is runned in TIME_ZONE = 'Europe/Paris'