blender-studio/playbooks/tasks/managepy.yaml
Anna Sirota 41ce6f5780 Replace poetry with requirements{,_dev,_prod}.txt
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.
2024-07-01 19:07:09 +02:00

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