Skip to content

Commit

Permalink
Be more verbose during management commands
Browse files Browse the repository at this point in the history
This might be helpful during debugging
  • Loading branch information
RealOrangeOne committed Apr 4, 2024
1 parent 2df664a commit ab1f39d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ enable_competition_homepage: false
enable_competitor_services_proxy: true
competitor_services_proxy_hostname: competitorsvcs.studentrobotics.org

# We typically only host the competitor services for the duration of the
# We typically only host the kit services for the duration of the
# competition year.
enable_kit_services_proxy: true
kit_services_proxy_hostname: kitsvcs.studentrobotics.org
Expand Down
4 changes: 2 additions & 2 deletions roles/helpdesk-system/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@

- name: Run migrations # noqa: no-changed-when - We want to always run this (it handles its own idempotency)
community.general.django_manage:
command: migrate --noinput -v0
command: migrate --noinput
app_path: "{{ install_dir }}/helpdesk"
virtualenv: "{{ venv_dir }}"
become_user: www-data
when: helpdesk_system_repo.changed # noqa: no-handler - Use a handler to ensure execution order

- name: Collect static # noqa: no-changed-when - We want to always run this (it handles its own idempotency)
community.general.django_manage:
command: collectstatic --noinput -v0
command: collectstatic --noinput
app_path: "{{ install_dir }}/helpdesk"
virtualenv: "{{ venv_dir }}"
become_user: www-data
Expand Down

0 comments on commit ab1f39d

Please sign in to comment.