publik-devinst/roles/deploy-tenants/templates/cook-recipe.j2

76 lines
2.3 KiB
Django/Jinja

{
"steps": [
{"create-hobo": {
"url": "https://{{tenants_conf['dev-hobo']}}/"
}},
{"create-superuser": {
"username": "{{superuser_username}}",
"first_name": "{{superuser_firstname}}",
"last_name": "{{superuser_lastname}}",
"email": "{{superuser_email}}",
"password": "{{superuser_password}}"
}},
{"create-authentic": {
"url": "https://{{tenants_conf['connexion-authentic']}}/",
"title": "Connexion"
}},
{"set-idp": {
}},
{"create-combo": {
"url": "https://{{tenants_conf['user-combo']}}/",
"title": "Portail",
"template_name": "portal-user"
}},
{"create-combo": {
"url": "https://{{tenants_conf['agent-combo']}}/",
"title": "Portail Agent",
"slug": "portal-agent",
"template_name": "portal-agent"
}},
{"create-wcs": {
"url": "https://{{tenants_conf['demarches-wcs']}}/",
"template_name": "{{wcs_skeleton_filename}}",
"title": "Démarches"
}},
{% if 'dev-passerelle' in tenants_conf and tenants_conf['dev-passerelle'] %}
{"create-passerelle": {
"url": "https://{{tenants_conf['dev-passerelle']}}/",
"title": "Passerelle"
}},
{% endif %}
{% if 'dev-fargo' in tenants_conf and tenants_conf['dev-fargo'] %}
{"create-fargo": {
"url": "https://{{tenants_conf['dev-fargo']}}/",
"title": "Porte-documents"
}},
{% endif %}
{% if 'dev-chrono' in tenants_conf and tenants_conf['dev-chrono'] %}
{"create-chrono": {
"url": "https://{{tenants_conf['dev-chrono']}}/",
"title": "Agendas"
}},
{% endif %}
{% if 'dev-bijoe' in tenants_conf and tenants_conf['dev-bijoe'] %}
{"create-bijoe": {
"url": "https://{{tenants_conf['dev-bijoe']}}/",
"title": "Statistiques"
}},
{% endif %}
{% if 'dev-welco' in tenants_conf and tenants_conf['dev-welco'] %}
{"create-welco": {
"url": "https://{{tenants_conf['dev-welco']}}/",
"title": "Courrier"
}},
{% endif %}
{% if 'dev-lingo' in tenants_conf and tenants_conf['dev-lingo'] %}
{"create-lingo": {
"url": "https://{{tenants_conf['dev-lingo']}}/",
"title": "Paiements"
}},
{% endif %}
{"set-theme": {
"theme": "clapotis-les-canards"
}}
]
}