Added driveway camera
This commit is contained in:
1 parent
995e81c549
commit
8a896f7524
5 files changed
+27
-4
No files matched your search
+7
-2
@@ -9,6 +9,8 @@
|
||||
prompt: Enter password for garage camera RTSP stream user motion
|
||||
- name: front_door_rtsp_password
|
||||
prompt: Enter password for front door camera RTSP stream user motion
|
||||
- name: driveway_rtsp_password
|
||||
prompt: Enter password for driveway camera RTSP stream user admin
|
||||
- name: back_door_rtsp_password
|
||||
prompt: Enter password for back door camera RTSP stream user motion
|
||||
- name: family_room_rtsp_password
|
||||
@@ -123,6 +125,8 @@
|
||||
password: '{{garage_rtsp_password}}'
|
||||
front_door:
|
||||
password: '{{front_door_rtsp_password}}'
|
||||
driveway:
|
||||
password: '{{driveway_rtsp_password}}'
|
||||
back_door:
|
||||
password: '{{back_door_rtsp_password}}'
|
||||
family_room:
|
||||
@@ -132,13 +136,14 @@
|
||||
login_user: '{{homelab_config.database.user}}'
|
||||
login_password: '{{homelab_config.database.password}}'
|
||||
db: '{{homelab_config.database.name}}'
|
||||
query: 'INSERT INTO service (name, host, config) VALUES (%s, %s, %s) ON CONFLICT DO NOTHING;'
|
||||
query: 'INSERT INTO service (name, host, source, config) VALUES (%s, %s, %s, %s) ON CONFLICT DO NOTHING;'
|
||||
positional_args:
|
||||
- '{{item.name}}'
|
||||
- '{{item.host}}'
|
||||
- '{{item.source}}'
|
||||
- '{{item.config}}'
|
||||
with_items:
|
||||
- {name: frigate, host: '{{ansible_hostname}}', config: '{{frigate_config|to_json}}'}
|
||||
- {name: frigate, host: '{{ansible_hostname}}', source: gitea/ashish/frigate/master, config: '{{frigate_config|to_json}}'}
|
||||
- name: Insert into Postgres table service_port
|
||||
community.postgresql.postgresql_query:
|
||||
login_host: '{{homelab_config.database.host}}'
|
||||
|
||||
Reference in new issue
Block a user