Skip to content
Snippets Groups Projects
Commit 7a2f8c5e authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Even more runas

parent 3a87118f
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ deploy_django_{{ project_name }}_migrate:
cmd.run:
- name: {{ venv_config.python_path }} manage.py migrate
- cwd: {{ project_config.path }}
- user: {{ project_name }}
- runas: {{ project_name }}
- require:
- file: deploy_django_{{ project_name }}_settings
- require_in:
......@@ -49,7 +49,7 @@ deploy_django_{{ project_name }}_collectstatic:
cmd.run:
- name: {{ venv_config.python_path }} manage.py collectstatic --noinput
- cwd: {{ project_config.path }}
- user: {{ project_name }}
- runas: {{ project_name }}
- require:
- file: deploy_django_{{ project_name }}_settings
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment