Added camera uptime monitoring system #10

Squashed commit of the following:

commit 3c26ec1cf2c69f60f8dfc5db3f2ec292166d8f4e
Author: Ashish D'Souza <[email protected]>
Date:   Sun Feb 18 02:46:18 2024 -0600

    Added camera uptime monitoring system
This commit is contained in:
ashish committed 2024-02-18 02:53:13 -06:00
1 parent 20fe151435
commit 91ca9e88bc
12 files changed
+288 -2

No files matched your search

+25 -2
View File
@@ -73,7 +73,7 @@
dest: '{{docker_build_dir.path}}'
mode: preserve
- name: Build frigate-notify Docker image
ansible.builtin.docker_image:
community.docker.docker_image:
build:
path: '{{docker_build_dir.path}}'
name: frigate-notify
@@ -96,7 +96,7 @@
dest: '{{docker_build_dir.path}}'
mode: preserve
- name: Build frigate-webcontrol Docker image
ansible.builtin.docker_image:
community.docker.docker_image:
build:
path: '{{docker_build_dir.path}}'
name: frigate-webcontrol
@@ -109,6 +109,29 @@
path: '{{docker_build_dir.path}}'
state: absent
- name: Create temporary Docker build directory for frigate-uptime
ansible.builtin.tempfile:
state: directory
register: docker_build_dir
- name: Copy Docker build directory
ansible.builtin.copy:
src: uptime/
dest: '{{docker_build_dir.path}}'
mode: preserve
- name: Build frigate-uptime Docker image
community.docker.docker_image:
build:
path: '{{docker_build_dir.path}}'
name: frigate-uptime
tag: latest
source: build
force_source: true
state: present
- name: Remove temporary Docker build directory for frigate-uptime
ansible.builtin.file:
path: '{{docker_build_dir.path}}'
state: absent
- name: Read homelab config
ansible.builtin.slurp:
src: '{{ansible_user_dir}}/.homelab.json'