Anna Sirota
41ce6f5780
Accidental backward-incompatible changes appear regularly in poetry, which leads to a regular chore of fixing this part of tooling, or having to stay on the old version of it for a very long time, which is bound to break.
9 lines
289 B
YAML
9 lines
289 B
YAML
---
|
|
- name: Running Django management command "{{ command }}"
|
|
ansible.builtin.shell:
|
|
cmd: >
|
|
bash -ca 'source {{ env_file }} &&
|
|
{{ dir.source }}/.venv/bin/python {{ dir.source }}/manage.py {{ command }}'
|
|
chdir: "{{ dir.source }}"
|
|
register: management_command_output
|