emit_notices no longer needed
py3-deploy
eric 2018-06-28 15:53:46 -04:00
parent 7e30131454
commit 056c32ee8b
4 changed files with 3 additions and 11 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.retry

View File

@ -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"

View File

@ -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"

View File

@ -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: