OpenWrt collection will soon be merged into managemynetwork collection: https://github.com/imp1sh/ansible_managemynetwork https://galaxy.ansible.com/ui/repo/published/imp1sh/ansible_managemynetwork/
It will happen next release cycle. It won't change a lot for you. You will only have to install and reference a different collection.
This release features:
-
restic role added features
- encpassphrase can now be set in backup item list so you can define
individual encryption passphrases for each target. - added support for s3 target
- now sourcing restic config for cron jobs. These may be redundant
because restic commandn in openwrt explicitly wants -p and -r switches
- encpassphrase can now be set in backup item list so you can define
-
changes to openwrt_system will trigger log and system service restart
so changes to logging will take effect e.g. -
updated x86 imagebuilder url 23.05.2
-
if no firewall rules whatsoever are defined the role will halt and ask if you really want it. This is a failsafe, because when the firewall dict contains errors (non existant variables for example) it might be rendered empty.
-
Add support for IP routing rules
Upstream documentation at:https://openwrt.org/docs/guide-user/network/routing/ip_rules
Example configuration:
PBR for traffic arriving on 'guest' interface rerouted to table 2000 which routes to VPN:
openwrt_network_rules4: guest_wifi_through_vpn: in: guest_wifi lookup: '2000' priority: '3000'
or IPV6:
openwrt_network_rules6: dmz_nullroute_fdca: in: dmz dest: 'fdca:1234::/64' action: 'blackhole'
-
common interface options optimized