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
24 stars 12 forks source link

fix config return value #62

Closed rekup closed 7 months ago

rekup commented 7 months ago

config.get now returns a xml.etree.ElementTree.Element due to the possibility of nested values. To fix the conditional check we need the text value of the respective config options.