initial commit
This commit is contained in:
42
tasks/main.yaml
Normal file
42
tasks/main.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
|
||||
# - name: Video Capture - Configure Owncast
|
||||
# include_tasks: owncast.yaml
|
||||
|
||||
- name: Video Capture - Check arch if needed
|
||||
when: refresh_special | bool
|
||||
block:
|
||||
|
||||
- name: Video Capture - Check CPU Arch
|
||||
shell: "dpkg --print-architecture"
|
||||
register: cpu_architecture_output
|
||||
|
||||
- name: Video Capture - Set cpu_architecture variable
|
||||
set_fact:
|
||||
cpu_architecture: "{{ cpu_architecture_output.stdout_lines[0] }}"
|
||||
|
||||
- name: Video Capture - Install Packages
|
||||
when: not refresh_special | bool
|
||||
apt:
|
||||
name:
|
||||
- "{{ streamer_packages_items }}"
|
||||
state: present
|
||||
loop: "{{ streamer_packages }}"
|
||||
loop_control:
|
||||
loop_var: streamer_packages_items
|
||||
|
||||
- name: Video Capture - SD Card Handler
|
||||
when: mount_sd | bool
|
||||
include_tasks: sd_handler.yaml
|
||||
|
||||
- name: Video Capture - Configure MediaMTX
|
||||
include_tasks: mediamtx.yaml
|
||||
|
||||
- name: Video Capture - Configure Streaming
|
||||
include_tasks: streamer.yaml
|
||||
|
||||
#- name: Video Capture - Configure service control
|
||||
# include_tasks: service_control.yaml
|
||||
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user