- name: restart postgresql
  service: name=postgresql state=restarted

- name: restart hubs triage
  service: name=fedora-hubs-triage@* state=restarted
  listen: "hubs configuration change"
  when: not hubs_dev_mode

- name: restart hubs workers
  service: name=fedora-hubs-worker@* state=restarted
  listen: "hubs configuration change"
  when: not hubs_dev_mode

- name: restart hubs SSE server
  service: name=fedora-hubs-sse state=restarted
  listen: "hubs configuration change"
  when: not hubs_dev_mode

# Webserver
- name: restart hubs webapp
  service: name=fedora-hubs-webapp state=restarted
  listen: "hubs configuration change"
  when: not hubs_dev_mode

- name: restart nginx
  service: name=nginx state=restarted
