churn/ansible/install-ap-optimized-firmware.yml

14 lines
557 B
YAML
Raw Normal View History

2025-09-30 13:27:57 +01:00
---
- name: Install chat
hosts: all
become: true
tasks:
- name: Set minimal firmware for cyfmac43455-sdio.bin
# This loads a firmware that takes up less of the SRAM used by the WiFi chip, which allows more simultaneous connections (~19 instead of 48).
ansible.builtin.command:
cmd: update-alternatives --set cyfmac43455-sdio.bin /lib/firmware/cypress/cyfmac43455-sdio-minimal.bin
register: firmware_update
changed_when: firmware_update.rc == 0
failed_when: firmware_update.rc != 0
ignore_errors: yes