Commit 01aadd52 authored by Thomas Danielsson's avatar Thomas Danielsson

[debops.netbox] Real fix for gunicorn restart

parent 2563fb1f
......@@ -2,9 +2,8 @@
- name: Restart gunicorn for netbox
service:
name: 'gunicorn'
name: 'gunicorn@netbox'
state: 'restarted'
args: 'netbox'
when: (not netbox__app_internal_appserver|bool and
ansible_local|d() and ansible_local.gunicorn|d() and
ansible_local.gunicorn.installed|bool)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment