diff --git a/roles/deploy-tenants/templates/cook-recipe.j2 b/roles/deploy-tenants/templates/cook-recipe.j2 index c4454e6..ef4e928 100644 --- a/roles/deploy-tenants/templates/cook-recipe.j2 +++ b/roles/deploy-tenants/templates/cook-recipe.j2 @@ -32,37 +32,37 @@ "template_name": "{{wcs_skeleton_filename}}", "title": "Démarches" }}, - {% if tenants_conf['dev-passerelle'] %} + {% if 'dev-passerelle' in tenants_conf and tenants_conf['dev-passerelle'] %} {"create-passerelle": { "url": "https://{{tenants_conf['dev-passerelle']}}/", "title": "Passerelle" }}, {% endif %} - {% if tenants_conf['dev-fargo'] %} + {% if 'dev-fargo' in tenants_conf and tenants_conf['dev-fargo'] %} {"create-fargo": { "url": "https://{{tenants_conf['dev-fargo']}}/", "title": "Porte-documents" }}, {% endif %} - {% if tenants_conf['dev-chrono'] %} + {% if 'dev-chrono' in tenants_conf and tenants_conf['dev-chrono'] %} {"create-chrono": { "url": "https://{{tenants_conf['dev-chrono']}}/", "title": "Agendas" }}, {% endif %} - {% if tenants_conf['dev-bijoe'] %} + {% if 'dev-bijoe' in tenants_conf and tenants_conf['dev-bijoe'] %} {"create-bijoe": { "url": "https://{{tenants_conf['dev-bijoe']}}/", "title": "Statistiques" }}, {% endif %} - {% if tenants_conf['dev-welco'] %} + {% if 'dev-welco' in tenants_conf and tenants_conf['dev-welco'] %} {"create-welco": { "url": "https://{{tenants_conf['dev-welco']}}/", "title": "Courrier" }}, {% endif %} - {% if tenants_conf['dev-lingo'] %} + {% if 'dev-lingo' in tenants_conf and tenants_conf['dev-lingo'] %} {"create-lingo": { "url": "https://{{tenants_conf['dev-lingo']}}/", "title": "Paiements"