Open np422 opened 3 months ago
@np422 What version were you upgrading from?
Could you use the | commands
pipe? The facts are read from the set commands currently.
Also, can you show the rules from ANSIBLE: EX004_icinga_ntp_check
as well? That appears to have the log
appropriately set to enabled
.
SUMMARY
vyos_facts slightly confused about the value of log in firewall rule
ISSUE TYPE
COMPONENT NAME
vyos_facts
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Host running ansible ubuntu 22.04, vyos target 1.3.2
STEPS TO REPRODUCE
Use the vyos_facts module.
EXPECTED RESULTS
The running config, not an error message
ACTUAL RESULTS
Result short:
Verbose output:
Example of more clear output found later in the printout, excerpt of the problematic section:
The corresponding rule on the firewall as printed by show command in configure mode:
The firewall does not have the value of the log parameter set to TCP, somehow the vyos_facts module seems to be a little confused about this.
I will provide any extra information requested.
We just upgraded the ansible version, the vyos_module has worked flawless for many years before.