main.yml 560 Bytes
Newer Older
1
---
2
  - name: django_dbs_migrate
3
    django_manage: command=migrate app_path={{ repository_download_path }}/okeanos-LoD/webapp/
4 5 6 7 8 9 10
    changed_when: True
    notify:
      - makemigrations_backend_app

  - name: makemigrations_backend_app
    django_manage: command="makemigrations --noinput backend" app_path={{ repository_download_path }}/okeanos-LoD/webapp/
    changed_when: True
11 12 13 14
    notify:
      - migrate_backend_app

  - name: migrate_backend_app
15
    django_manage: command=migrate app_path={{ repository_download_path }}/okeanos-LoD/webapp/ apps=backend