Fix ansible join

This commit is contained in:
Oleg Lavrovsky 2019-09-11 23:45:47 +02:00
parent 00d21c840e
commit 8379996dc5

View file

@ -13,7 +13,7 @@ web:
- "5000:5000"
environment:
- DJANGO_SETTINGS_MODULE={{ django_project_name }}.settings.production
- ALLOWED_HOSTS=www.{{ allowed_domains|join(',www.') }},{{ allowed_domains }},{{ ipv4_addresses|join(':5000,') }}
- ALLOWED_HOSTS=www.{{ allowed_domains|split(',')|join(',www.') }},{{ allowed_domains }},{{ ipv4_addresses|join(':5000,') }}
- SECRET_KEY={{ django_secret_key }}
- MAILGUN_KEY={{ django_email_key }}
- MAILGUN_DOMAIN={{ django_email_domain }}