From 99c1add95f814bc4942f2df4f4b4052aa42757df Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 19 Dec 2021 10:11:01 +0100 Subject: [PATCH] netbox: restart on config change --- roles/netbox/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/netbox/tasks/main.yml b/roles/netbox/tasks/main.yml index a0a5068..2284ab9 100644 --- a/roles/netbox/tasks/main.yml +++ b/roles/netbox/tasks/main.yml @@ -60,6 +60,7 @@ dest: "/opt/netbox-{{ netbox_version }}/netbox/netbox/configuration.py" owner: "{{ netbox_user }}" group: "{{ netbox_group }}" + notify: Restart netbox - name: Configure gunicorn template: