As an example (and the reason why i try to solve this issue the way i am doing it right now), the junos module (https://docs.ansible.com/ansible/latest/collections/junipernetworks/junos/junos_config_module.html#ansible-collections-junipernetworks-junos-junos-config-module) support this exact behaviour. So it was easy to adapt this for our vyos firewalls.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Jul 11 2025
It seems that community plugin netcommon network_cli breaks long lines resulting in diff. I tried ansible_terminal_width but no luck
I will be looking for some workarounds, unless there is already an open issue with Netcommon
Jul 10 2025
I can see the community module we use (necommon/network_cli) actually returns the running config with a broken long strings - it inserts extra space
Hi,
I am testing against 1.4.2, via pylibssh, - I see 4096-long one does break idempotency but I see no Exception
I will retest with vyos_user
Jul 9 2025
Hi @nicolasberens!
I believe the module is configured to match line by line by default and only work out on deltas in the config.
So if in the active Ansible session, the module does not sense changes after 'delete' (because there are none as yet, since the command is not applied) - At start, the module retrieves the current configuration and process it, then issues a set of commands.
Either having two separate tasks to delete first, then to set works, or the example below also works.
Hi All,
Looking into this
May 24 2025
May 22 2025
May 15 2025
May 5 2025
May 4 2025
Apr 22 2025
Checking this and PR190 that claims to address the issues. Preliminary comment on the PR190:
Apr 14 2025
Apr 8 2025
Apr 3 2025
There was no a change - I tested with the existing code in trunk and could not replicate the issue - hence the question, given this is a pretty old bug report
Apr 2 2025
Mar 27 2025
Mar 20 2025
This seems to be implemented:
Mar 19 2025
Mar 18 2025
Mar 14 2025
Mar 11 2025
Hi,
I tested with 520-700+ character long strings and the bug is not evident in 1.3- or1.4+ versions
Can you please re-rest and advise this issue still persist
Are we happy with the above patch (fixing the terminal)?
After some investigation, it can be advised, that the described issue is to do with netcomm_cli module implementation used by VyOS Ansible Galaxy - namely, the ansible_net_version is set for a connection and stays so until reconnects and re-reads the modified hostname.
As such, this is currently outside of the collection's control.
That said, the issue can be easily avoided by reading ansible_facts mid-playbook:
Example Playbook:
Mar 6 2025
Mar 3 2025
@pasik Hi mate! Were you the original reporter of this bug please?
If so, can you clarify a few questions I asked above?
thank you
Can we close it?
I cannot see the virtual interface names are supported in 1.3-1.5 -
Mar 2 2025
Just a single one to go https://github.com/vyos/vyos.vyos/pull/395
Feb 28 2025
PR399 is ready for review
Feb 27 2025
Feb 26 2025
Attempting to re-init work here https://github.com/vyos/vyos.vyos/pull/399
Feb 25 2025
Feb 20 2025
I will look into after https://github.com/vyos/vyos.vyos/pull/387
I can look into this after https://github.com/vyos/vyos.vyos/pull/387 is actioned
Feb 17 2025
https://github.com/vyos/vyos.vyos/pull/395 for OSPFv2 fixes - both unit and integration
Feb 12 2025
Follow-up https://github.com/vyos/vyos.vyos/pull/394 is for ospfv3 integration tests
Feb 6 2025
found the bug in ospf_interfaces bug. This code (both for 1.3- and 1.4+) does not cut it:
Feb 5 2025
Feb 4 2025
Feb 2 2025
Jan 31 2025
should be fixed by https://github.com/vyos/vyos.vyos/pull/382
Jan 29 2025
Jan 28 2025
- Raised https://github.com/vyos/vyos.vyos/pull/379
- Completed integration tests for 1.3- but 1.4+ fails - need to workaround unsupported commands in tests setup (e..g 'config-trap' and look into module code as new stanzas are not handled correctly (e.g. log vs log 'enable')
- Unit tests are failing after the parser regex change - need to fix them too
Jan 27 2025
Jan 26 2025
Confirmed - 1.2-1.5 are failing
Confirmed that 1.4 and 1.5 is no cigar
Confirmed - integration tests are failing for the 1.2-1.5 version
This issue should have been resolved by a number of already implemented PRs - e.g. https://github.com/vyos/vyos.vyos/pull/354 or https://github.com/vyos/vyos.vyos/pull/368, therefore I am closing this ticket now. Please feel free to re-open if I am wrong
Jan 25 2025
Jan 23 2025
Jan 22 2025
I can see the tests are NOK for all the versions - working in a separate branch to fix
Jan 21 2025
Are we closing this? Or we have some glowing example of the wrong processing?
Jan 14 2025
Almost done - just looking at failing overriden before dict issue - other integration tests seem to be working now
Jan 9 2025
Started to put the patches together in https://github.com/vyos/vyos.vyos/pull/368