fix: Deploy migrations as web user

Resolves issue where server cannot run due to log
file owned by root
This commit is contained in:
James Graham
2020-03-02 07:42:11 +00:00
parent e410d9bcb1
commit 56568093ae

View File

@@ -105,6 +105,7 @@
command: '{{ item }}'
app_path: '{{ project_dir }}'
virtualenv: '{{ venv_dir }}'
become_user: '{{ web_user }}'
with_items:
- migrate
- collectstatic