diff --git a/defaults/main.yml b/defaults/main.yml index d7580ff..fcffc8e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/tasks/configure.yml b/tasks/configure.yml index f68dd9c..3c73dc2 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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: