parent
7e30131454
commit
056c32ee8b
|
@ -0,0 +1 @@
|
||||||
|
*.retry
|
|
@ -20,7 +20,7 @@
|
||||||
- 'libmysqlclient-dev'
|
- 'libmysqlclient-dev'
|
||||||
- 'python-mysqldb'
|
- 'python-mysqldb'
|
||||||
|
|
||||||
- name: Migrate databse
|
- name: Migrate database
|
||||||
django_manage:
|
django_manage:
|
||||||
app_path: "{{ project_path }}"
|
app_path: "{{ project_path }}"
|
||||||
command: "migrate --noinput"
|
command: "migrate --noinput"
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
- name: Migrate databse
|
- name: Migrate database
|
||||||
django_manage:
|
django_manage:
|
||||||
app_path: "{{ project_path }}"
|
app_path: "{{ project_path }}"
|
||||||
command: "migrate --noinput"
|
command: "migrate --noinput"
|
||||||
|
|
|
@ -88,15 +88,6 @@
|
||||||
- 'setup.sh'
|
- 'setup.sh'
|
||||||
- 'dump.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
|
- name: Create django log directory
|
||||||
become: yes
|
become: yes
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue