parent
7e30131454
commit
056c32ee8b
|
@ -0,0 +1 @@
|
|||
*.retry
|
|
@ -20,7 +20,7 @@
|
|||
- 'libmysqlclient-dev'
|
||||
- 'python-mysqldb'
|
||||
|
||||
- name: Migrate databse
|
||||
- name: Migrate database
|
||||
django_manage:
|
||||
app_path: "{{ project_path }}"
|
||||
command: "migrate --noinput"
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
notify:
|
||||
- restart apache
|
||||
|
||||
- name: Migrate databse
|
||||
- name: Migrate database
|
||||
django_manage:
|
||||
app_path: "{{ project_path }}"
|
||||
command: "migrate --noinput"
|
||||
|
|
|
@ -88,15 +88,6 @@
|
|||
- 'setup.sh'
|
||||
- 'dump.sh'
|
||||
|
||||
- name: Copy scripts to deploy directory
|
||||
become: yes
|
||||
template:
|
||||
src: "{{ item }}.j2"
|
||||
dest: "{{ project_path }}/deploy/{{ item }}"
|
||||
mode: 0755
|
||||
with_items:
|
||||
- 'emit_notices.sh'
|
||||
|
||||
- name: Create django log directory
|
||||
become: yes
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue