ansible-role-motion/tasks/install.yml

22 lines
500 B
YAML

---
- 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
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