Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/web/tasks/setup_django_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@
settings: "{{ django_settings_file }}"
environment: "{{ django_environment }}"
when: run_django_collectstatic is defined and run_django_collectstatic
notify: restart application
notify:
- restart application
- restart celery
tags: django.collectstatic
4 changes: 3 additions & 1 deletion roles/web/tasks/setup_git_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
dest={{ project_path }}
accept_hostkey=yes
when: setup_git_repo is defined and setup_git_repo
notify: restart application
notify:
- restart application
- restart celery
tags: git

- name: Delete all .pyc files
Expand Down
4 changes: 3 additions & 1 deletion roles/web/tasks/setup_virtualenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@
group={{ gunicorn_group }}
mode=0640
backup=yes
notify: restart application
notify:
- restart application
- restart celery
tags: deploy

- name: Create the maintenance page
Expand Down