ansible-role-motion/tasks/install.yml

27 lines
650 B
YAML
Raw Normal View History

2022-10-11 09:19:01 +02:00
---
- name: Install required software
apt:
name:
- motion
- mutt
- name: Deploy script to process events
copy:
src: files/process_motion_event.sh
dest: /usr/local/bin/process_motion_event.sh
owner: motion
group: motion
2023-03-11 10:27:54 +01:00
mode: 0750
- name: Deploy script to transfer recordings
copy:
src: files/transfer_recordings.sh
dest: /usr/local/bin/transfer_recordings.sh
owner: motion
group: motion
mode: 0750
2023-03-17 14:46:02 +01:00
- name: Ensure motion_hass is installed
ansible.builtin.pip:
name: git+ssh://git@repos.susurrando.com:1122/srv/git.repos/motion_hass.git