all 3 _in_target function definitions don't check for None value. This makes it impossible to delete a group description:
On a testing VyOS:
configure delete firewall set firewall name test description test commit
I expect the description to be deleted when I run this Ansible task:
- name: Delete description vyos.vyos.vyos_firewall_global: config: group: address_group: - name: test state: replaced
But nothing happens.
Because the function is defined in 3 locations, including in the utils, I will also swap the other 2 to the utils function.
GitHub PR: https://github.com/vyos/vyos.vyos/pull/405