Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 650 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 650 Bytes

ansible-openwrt-sysupgrade

Upgrading OpenWrt firmware using Ansible

Change defaults

Set platform, device and version:

openwrt_platform: ramips/mt7621
openwrt_device: xiaomi_mi-router-4
openwrt_version: 22.03.0-rc5

Run playbook

Run master playbook:

ansible-playbook -i production site.yml --extra-vars "openwrt_platform=ramips/mt7621 openwrt_device=xiaomi_redmi-router-ac2100 openwrt_version=SNAPSHOT"
ansible-playbook -i production site.yml -t sysupgrade --extra-vars "openwrt_platform=mediatek/mt7622 openwrt_device=xiaomi_redmi-router-ax6s openwrt_version=22.03.0-rc5"
ansible-playbook -i production site.yml -t bootstrap