--- - 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 when: not refresh_special | bool include_tasks: mediamtx.yaml - name: Video Capture - Configure Streaming include_tasks: streamer.yaml - name: Video Capture - Configure service control include_tasks: service_control.yaml ...