Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

v0.6.0

Latest
Compare
Choose a tag to compare
@imp1sh imp1sh released this 25 Dec 09:51
· 2 commits to main since this release
6eecc66

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