diff --git a/deploy/ansible/group_vars/all.yml b/deploy/ansible/group_vars/all.yml index 5eb5478a1..3a0f1d179 100644 --- a/deploy/ansible/group_vars/all.yml +++ b/deploy/ansible/group_vars/all.yml @@ -38,3 +38,5 @@ icaro: email_smtp_port: "25" email_smtp_user: "EmailSMTPUser" email_smtp_password: "EmailSMTPPassword" + tos_path: "files/tos" + marketing_use_path: "files/marketing" diff --git a/deploy/ansible/roles/wax/templates/wax-conf.j2 b/deploy/ansible/roles/wax/templates/wax-conf.j2 index c8112338b..e8f16ed93 100644 --- a/deploy/ansible/roles/wax/templates/wax-conf.j2 +++ b/deploy/ansible/roles/wax/templates/wax-conf.j2 @@ -12,6 +12,10 @@ "headers": ["Token", "Content-Type"], "methods": ["GET", "PUT", "POST", "DELETE"] }, + "disclaimers": { + "terms_of_use": "{% include icaro.wax.tos_path ignore missing %}", + "marketing_use": "{% include icaro.wax.marketing_use_path ignore missing %}" + }, "auth_social": { "facebook": { {% if icaro.wax.facebook_client_id is defined and icaro.wax.facebook_client_secret is defined %}