--- # 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 }}"