It would be nice to configure VRRP using a dedicated Ansible module instead of only via vyos.vyos.vyos_config.
Please see the example task below - would it be hard to implement it as a module?
--- # add a vif interface with description (without static address), then configure vrrp for them - name: configure vrrp for vlan {{ vlan }} on '{{ inventory_hostname }}' router vyos.vyos.vyos_config: lines: - set interfaces {{ router_main_interface_type }} {{ router_main_interface }} vif {{ vlan }} description '{{ vlan_description }}' - set high-availability vrrp group VLAN-{{ vlan }} description '{{ vlan_description }}' - set high-availability vrrp group VLAN-{{ vlan }} hello-source-address '{{ router_hello_source_address }}' - set high-availability vrrp group VLAN-{{ vlan }} interface '{{ router_main_interface}}.{{ vlan }}' - set high-availability vrrp group VLAN-{{ vlan }} priority '{{ router_vrrp_priority }}' - set high-availability vrrp group VLAN-{{ vlan }} virtual-address '{{ router_interface_ip }}/{{ mask_bits }}' - set high-availability vrrp group VLAN-{{ vlan }} vrid '{{ vrid }}'