--- # Configure device section - name: Configure device section ansible.builtin.include_tasks: device.yml # loop: "{{ (wireless_devices | default([])) }}" loop: "{{ ansible_facts.openwrt_wireless | list }}" # Configure interface section - name: Configure interface section ansible.builtin.include_tasks: interface.yml loop: "{{ wireless_interfaces | default([]) }}" loop_control: loop_var: outerItem # Apply changes and reload wireless service - name: Apply changes and reload wireless uci: command: commit notify: Reload wireless