Skip to content

Commit

Permalink
deploy. add custom tos and marketing use
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Apr 5, 2018
1 parent 9845189 commit 4defa1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/ansible/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 4 additions & 0 deletions deploy/ansible/roles/wax/templates/wax-conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 4defa1f

Please sign in to comment.