add notes about what should happen in the db migration bits
This commit is contained in:
parent
5372f26f07
commit
a395c4fd0c
1 changed files with 5 additions and 2 deletions
|
@ -215,9 +215,12 @@
|
||||||
owner=root group=root mode=0600
|
owner=root group=root mode=0600
|
||||||
|
|
||||||
|
|
||||||
# FIXME - should these commands either be set conditional to a check
|
|
||||||
# FIXME - or should they at least pass a creates= to avoid running everytime?
|
|
||||||
# Sync databases
|
# Sync databases
|
||||||
|
# FIXME the db migrations should happen no matter when the pkgs are updated
|
||||||
|
# so really this should be run once
|
||||||
|
# and then stored in a yun-post-transaction-action on the system(s)
|
||||||
|
# so no matter when it is run the right thing happens
|
||||||
|
|
||||||
- name: run django syncdb
|
- name: run django syncdb
|
||||||
command: /usr/bin/django-admin syncdb --pythonpath=/etc/$item/sites/default --settings=settings
|
command: /usr/bin/django-admin syncdb --pythonpath=/etc/$item/sites/default --settings=settings
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue