churn/ansible/install-ap-optimized-firmware.yml
2025-11-07 13:24:44 +00:00

13 lines
557 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- 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