User Details
- User Since
- Oct 25 2024, 9:10 PM (85 w, 4 d)
Sun, Jun 14
This task is covered by https://github.com/vyos/vyos.vyos/pull/438
Thu, Jun 11
Apr 13 2026
Apr 10 2026
@GideonKuijt @gaige
Netcommon v8.4.0 seems to be free of this issue - kindly check for yourself and advise
Apr 6 2026
Mar 20 2026
Mar 7 2026
Mar 6 2026
It is likely extension to vyos.vyos.vyos_l3_interface module
Mar 3 2026
@SrividyaA hi!
Mar 2 2026
Hi @RubenNL
Do you plan to work on this one or you are OK to delegate / re-assign?
You mentioned a PR - can you please advise the number
https://github.com/vyos/vyos.vyos/pull/409 merged - closing this off
I see you created this ticket and self-assigned to.
Do you plan to work on the bugfix or you are OK to delegate?
Mar 1 2026
Feb 26 2026
Feb 15 2026
Feb 7 2026
Jan 30 2026
Jan 24 2026
Dev work is under https://github.com/vyos/vyos.vyos/pull/438
Jan 21 2026
That's awesome - thanks
Jan 19 2026
New Playbook
Jan 17 2026
@nicolas Fort @Srividya Anantapatnaikuni here is the solution
Jan 10 2026
Jan 5 2026
This does not look like a bug but rather as the module mis-use:
Dec 19 2025
Dec 17 2025
Nov 30 2025
Are you able to update the status of this Mafifest, add a link to a new PR or other doc please?
Thank you
Are you able to update the status of this Mafifest, add a link to PR or other doc please?
Thank you
Are you able to update the status of this Mafifest, add a link to PR or other doc please?
Thank you
Thank you for the question.
The latest supported Ansible core version for this collection is 2.18.2
2.19+ unfortunately has a lot of changes that require the code rework, most notably, the community collections we use alongside with ours are not compatible as well (e.g. ansible.netcommon).
There is an issue https://github.com/vyos/vyos.vyos/issues/417 lodged to embrace 2.19+ at some point, but right now we have to wait for the adoption of this version by wider user base.
Nov 17 2025
@Viacheslav @badger42 hi Guys! Why is this in the Ansible FR section?
Nov 10 2025
Oct 31 2025
Oct 30 2025
@lingfish hi!
Sorry for taking so long
Oct 28 2025
Oct 26 2025
Oct 19 2025
Oct 18 2025
@lingfish Hi!
Which module are you using?
Aug 28 2025
Work is here https://github.com/vyos/vyos.vyos/pull/433
Aug 25 2025
The feature is really missing - I raised a PR to work on it https://github.com/vyos/vyos.vyos/pull/433
Aug 24 2025
The feature is available in the latest Galaxy collection
https://galaxy.ansible.com/ui/repo/published/vyos/vyos/content/module/vyos_l3_interfaces/
Aug 20 2025
More in Slack https://vyos-community.slack.com/archives/C027BSYGHPT/p1754577533265449
In general:
@nicolasberens hi!
Aug 16 2025
I am working here on this use case https://github.com/vyos/vyos.vyos/pull/429
Aug 15 2025
Aug 11 2025
@nicolasberens Raising PR https://github.com/vyos/vyos.vyos/pull/430 to make vyos_config and cliconf less greedy
Aug 10 2025
Hi @nicolasberens
That is interesting - when I use rule 5 for example - there is also no change
Aug 7 2025
Additional details from Slack:
it is not only 1st run. He runs his playbook for 3 routers. Only one works without problems. He says that the configs are the same and the version is - 1.4.3.
Ansible verbose info
@a.apostoliuk hi!
Can we have:
Aug 5 2025
Hello @nicolasberens
Apologies for this taking too long to respond.
I investigated further and found that community module function netcommon.CliConf inserts an extra space, thus breaking the long lines and causing diff to generate, which, in turns, impacts the idempotency of the VyOS modules.
I raised an issue with the community https://github.com/ansible-collections/ansible.netcommon/issues/713
Jul 17 2025
So, I tried a few approaches here - in particular, I coded logic to preserve 'set' commands if they are in running config and there is a corresponding 'delete' clause, to we do see 'delete' and 'set' commands in the config to compare.
Despite this, the Ansible connnection.get_diff does not work with this well, as it tends to remove 'delete' from the resultant set as not making sense (it kind of being over-smart here)
Jul 15 2025
That is clear now, thanks @nicolasberens
(Sorry, I must have misspelled your username)
Jul 14 2025
@nicholaschaffeee Hi!
Are you able to describe your use case above?
Jul 11 2025
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.
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