-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathretro_pie_uv4l.yml
executable file
·39 lines (34 loc) · 985 Bytes
/
retro_pie_uv4l.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- name: "Installing Retro Pie and UV4L on Raspbian"
hosts: localhost
connection: local
tasks:
- name: Add UV4L project keys
apt_key:
url: https://www.linux-projects.org/listing/uv4l_repo/lpkey.asc
state: present
- name: Add UV4L project repository
apt_repository:
repo: deb https://www.linux-projects.org/listing/uv4l_repo/raspbian/stretch stretch main
state: present
- name: "Install UV4l"
package:
name:
- uv4l
- uv4l-raspidisp
- uv4l-raspidisp-extras
- uv4l-server
- uv4l-webrtc
- uv4l-demos
state: present
- name: "Add snd-aloop to /etc/modules"
lineinfile:
path: /etc/modules
line: snd-aloop
create: yes
- name: 'Configure ALSA'
lineinfile:
path: /etc/modprobe.d/alsa-base.conf
line: options snd-aloop index=1
create: yes
state: present