puzzle / puzzle.opnsense

An Ansible Collection to configure an opnsense Firewall
https://puzzle.github.io/puzzle.opnsense/collections/puzzle/opnsense/index.html
GNU General Public License v3.0
23 stars 12 forks source link

Use 'product_series' for version detection #109

Closed DonGiovanni83 closed 4 months ago

DonGiovanni83 commented 4 months ago

To avoid tracking OPNsense versions for every bugfix version (eg. 24.1.4) we can focus just on minor releases (eg. 24.1). This is achieved by detecting the OPNsense version using the 'product_series' attribute of the opnsense-version -O command output.

Changes have been successfully tested on all present molecule scenarios.

Resolves #108