1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/tasks/migrate.yml

8 lines
291 B
YAML
Raw Normal View History

2022-11-12 16:25:43 +01:00
---
- name: Run python3 manage.py migrate
become: true
ansible.builtin.command:
chdir: "{{ etebase__user_home }}/etebase_{{ etebase_version_target }}"
cmd: "{{ etebase__venv }}/bin/python3 ./manage.py migrate"
changed_when: _etebase_download.changed or _etebase_config.changed