To reproduce, on a testing VyOS:
delete firewall set firewall group address-group test address 1.2.3.4 commit
I would expect the following ansible task to result in one of those 2 being run:
- delete firewall group address-group test address 1.2.3.4
- delete firewall group address-group test address
(both of those result in the same line remaining in the config: set firewall group address-group test)
- name: clear address group test vyos.vyos.vyos_firewall_global: config: group: address_group: - name: test members: []
Currently, nothing happens.
I've already created the PR: https://github.com/vyos/vyos.vyos/pull/403