diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d50efe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.retry \ No newline at end of file diff --git a/roles/regluit_dev/tasks/main.yml b/roles/regluit_dev/tasks/main.yml index a702d77..db950e7 100644 --- a/roles/regluit_dev/tasks/main.yml +++ b/roles/regluit_dev/tasks/main.yml @@ -20,7 +20,7 @@ - 'libmysqlclient-dev' - 'python-mysqldb' -- name: Migrate databse +- name: Migrate database django_manage: app_path: "{{ project_path }}" command: "migrate --noinput" diff --git a/roles/regluit_prod/tasks/apache.yml b/roles/regluit_prod/tasks/apache.yml index a55cf87..9c23ed2 100644 --- a/roles/regluit_prod/tasks/apache.yml +++ b/roles/regluit_prod/tasks/apache.yml @@ -79,7 +79,7 @@ notify: - restart apache -- name: Migrate databse +- name: Migrate database django_manage: app_path: "{{ project_path }}" command: "migrate --noinput" diff --git a/roles/regluit_prod/tasks/main.yml b/roles/regluit_prod/tasks/main.yml index 5765c5d..fd7d75f 100644 --- a/roles/regluit_prod/tasks/main.yml +++ b/roles/regluit_prod/tasks/main.yml @@ -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: