git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
937ba3c
)
Don't call createdb
author
Lorin Hochstein
<lhochstein@netflix.com>
Sat, 24 Dec 2016 04:55:24 +0000
(20:55 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Sat, 24 Dec 2016 04:55:24 +0000
(20:55 -0800)
ch06/playbooks/mezzanine.yml
patch
|
blob
|
history
diff --git
a/ch06/playbooks/mezzanine.yml
b/ch06/playbooks/mezzanine.yml
index
ec1a7f3
..
451bf1c
100644
(file)
--- a/
ch06/playbooks/mezzanine.yml
+++ b/
ch06/playbooks/mezzanine.yml
@@
-134,15
+134,14
@@
- psycopg2
- django-compressor
- python-memcached
- - name:
sync the database, apply migrations
, collect static content
+ - name:
apply migrations to create the database
, collect static content
django_manage:
command: "{{ item }}"
app_path: "{{ proj_path }}"
virtualenv: "{{ venv_path }}"
with_items:
- - createdb --noinput --nodata
- - collectstatic
- migrate
+ - collectstatic
- name: set the site id
script: scripts/setsite.py
environment: