Add option to enable disable transfers

This commit is contained in:
Antonio J. Delgado 2023-04-07 14:11:51 +03:00
parent 99610a995d
commit edee1248a0
2 changed files with 3 additions and 0 deletions

View file

@ -9,3 +9,4 @@ localnetworks:
motion_bot_ntfy_server: 'http://ntfy.sh' # Empty to skip ntfy option
motion_bot_ntfy_username: motion_bot
motion_bot_ntfy_password: "{{ vault_motion_bot_ntfy_pass }}"
transfer_recordings: true

View file

@ -135,12 +135,14 @@
daemon_reload: true
name: transfer_recordings.service
enabled: true
when: transfer_recordings
- name: Enable timer unit to transfer recordings
systemd:
daemon_reload: true
name: transfer_recordings.timer
enabled: true
when: transfer_recordings
- name: Ensure motion_hass is configured
template: