2023-03-04 20:09:32 +00:00
|
|
|
- name: Install packages
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- webcamd
|
|
|
|
- pwcview # For testing webcam
|
2023-03-04 20:21:08 +00:00
|
|
|
- v4l-utils # Needed for support in browsers
|
|
|
|
- v4l_compat # Needed for support in browsers
|
2023-03-04 20:09:32 +00:00
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Install loader.conf
|
|
|
|
copy:
|
|
|
|
src: "files/{{ item }}_loader.conf"
|
|
|
|
dest: "/boot/loader.conf.d/{{ item }}.conf"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: wheel
|
|
|
|
loop:
|
|
|
|
- cuse
|
|
|
|
|
|
|
|
- name: Install service configuration
|
|
|
|
copy:
|
|
|
|
src: "files/{{ item }}_rc.conf"
|
|
|
|
dest: "/etc/rc.conf.d/{{ item }}"
|
|
|
|
mode: 0644
|
|
|
|
owner: root
|
|
|
|
group: wheel
|
|
|
|
loop:
|
|
|
|
- webcamd
|