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

Releases: imp1sh/ansible_openwrt

v0.6.0

25 Dec 09:51
6eecc66
Compare
Choose a tag to compare

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

v0.5.1

02 Jul 08:10
Compare
Choose a tag to compare

Updates in v0.5.1

  • This will probably be the last release to support 22.03. Version v0.6 will have changes for 23.05
  • fix for proto list in firewall rules
  • updated imagebuilder default url for x86 to 22.03.5
  • added plenty of missing ipv6 options for networking role
  • add new role prometheus_node_exporter for exporting data into e.g. .grafana
  • fixed major bug in restic backup role. CRON job tried to use wrong password file
  • fix small error in uhttpd role when running in imagebuilder mode

v0.5.0

22 Apr 11:29
Compare
Choose a tag to compare
  • imagebuilder support for removing opkg packages
  • update x86 default imagebuilder url update 22.03.4
  • babeld role now ready to be used
  • ansible_openwrtimagebuilder now supports:
    • ansible_openwrtwireless
    • ansible_openwrtuhttpd
  • added missing options in dhcp
  • odhcpd fix for not showing active dhcpv6 leases in LUCI
  • firewall default rules ports now int not string
  • experimented with firewall rule checks
  • reworked prepare task for ansible_openwrtpackages:
    now after prepare a list is coming out. They are being
    transformed in place if necessary
  • allowed_ips for wireguar now optional
  • network interface with dhcpv6 now supports defining clientid (duid)

v0.4.3

18 Jan 18:27
Compare
Choose a tag to compare

New release supporting uhttpd

v0.4.1

13 Jan 19:51
Compare
Choose a tag to compare
  • major rework of restic backup role, see: https://wiki.junicast.de/en/junicast/docs/AnsibleOpenWrtCollection/roleRestic

  • defining rules in firewall role is now more fault tolerant:
    src_port fallback names:

    • src-port
    • srcport
      dest_port fallback names:
    • dest-port
    • destport
    • port

    new fallback option for rule (port)
    It is a common error to not use the 'dest_port' attribute for a rule but
    to write 'port' instaed. This could lead to somewhat catastrophic
    results, as the rule would accept every traffic for e.g.
    udp / tcp or udptcp withtout a restriction to the destination
    port.
    As a fallback in case someone writes port instead of dest_port this
    now also works and will have the same result if one would have
    written dest_port.

v0.4.0

11 Nov 11:19
Compare
Choose a tag to compare
  • tinyproxy support
  • docs now english
  • small fixes

v0.3.1

19 Oct 14:53
Compare
Choose a tag to compare

v0.3.0

28 Aug 19:59
Compare
Choose a tag to compare

v0.2.2

22 Aug 21:12
Compare
Choose a tag to compare
  • important fix: firewall rule proto
    this fixes a bug for firewall rules where a proto is set.
    it was not possible to set the "all" directive, instead "tcp/udp" was
    set as this is the default if no proto is given. This is now fixed.
    On top it is now also possible to define ah, sctp udplite as proto.
    Protocol numbers are currently not supported. So are protocol names from /etc/protocols
  • optimizations for imagebuilder
  • new role ansible_openwrtimagebuilder that will build an OpenWrt image with your packages and configuration files. Documentation will soon come, but there will also be some more optimizations

v0.2.1

19 Aug 12:13
Compare
Choose a tag to compare

Accidentally skipped release v0.2.0 here on github, what's new comparing to v0.2.0

  • small optimizations and bugfixes
  • ipv6 for pppoe and ppp now configurable via the 'ipv6' parameter in openwrt_network
  • 802.11r parameters added, thx to @PhilipWhiteside
  • small optimizations to wireguard role