feat(hardware): auto-detect audio, bluetooth, camera with declarative override
This commit is contained in:
16
tests/hardware/test_detection.yml
Normal file
16
tests/hardware/test_detection.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# Run: ansible-playbook tests/hardware/test_detection.yml
|
||||
- name: Hardware detection fixture tests
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
connection: local
|
||||
vars_files:
|
||||
- ../../roles/environment/defaults/main.yml
|
||||
- fixtures.yml
|
||||
tasks:
|
||||
- name: Run each detection fixture
|
||||
ansible.builtin.include_tasks: _assert_fixture.yml
|
||||
loop: "{{ hardware_fixtures }}"
|
||||
loop_control:
|
||||
loop_var: fixture
|
||||
label: "{{ fixture.name }}"
|
||||
Reference in New Issue
Block a user