Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
729aba59
Commit
729aba59
authored
Feb 13, 2018
by
Jelle van der Waa
🚧
Browse files
archweb: Django 1.11 removed syncdb
syncdb is now handled by the migrate command
parent
caa8cb80
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archweb/tasks/main.yml
View file @
729aba59
...
...
@@ -73,12 +73,6 @@
when
:
archweb_site or archweb_services
register
:
db_created
-
name
:
django syncdb
django_manage
:
app_path="{{ archweb_dir }}" command=syncdb virtualenv="{{ archweb_dir }}/env"
become
:
true
become_user
:
archweb
when
:
(archweb_site or archweb_services) and db_created.changed
-
name
:
django migrate
django_manage
:
app_path="{{ archweb_dir }}" command=migrate virtualenv="{{ archweb_dir }}/env"
become
:
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment