From 93be6b363fddb7b6bf73b6d09a771e02c8cfc2f8 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Fri, 23 Dec 2016 20:55:24 -0800 Subject: [PATCH] Don't call createdb --- ch06/playbooks/mezzanine.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ch06/playbooks/mezzanine.yml b/ch06/playbooks/mezzanine.yml index ec1a7f3..451bf1c 100644 --- 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: -- 2.44.0