From d8bb629c5d3a920891680e820652c45b7ae31b9b Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 30 Dec 2021 09:35:14 -0600 Subject: [PATCH] r/frigate: Ensure service starts at boot Missing a task to enable the *frigate.service* unit meant that the service would not start automatically when the machine booted. --- roles/frigate/tasks/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/frigate/tasks/main.yml b/roles/frigate/tasks/main.yml index cf60223..0248946 100644 --- a/roles/frigate/tasks/main.yml +++ b/roles/frigate/tasks/main.yml @@ -93,7 +93,15 @@ tags: - config -- meta: flush_handlers +- name: ensure frigate starts at boot + service: + name: frigate + enabled: true + tags: + - service + +- name: flush handlers + meta: flush_handlers - name: ensure frigate is running service: name: frigate