@Apachez , @gaige Hello Guys!
How do we want to continue here, please?
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Sun, Nov 30
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.
Tue, Nov 25
Mon, Nov 17
@Viacheslav @badger42 hi Guys! Why is this in the Ansible FR section?
Mon, Nov 10
Nov 6 2025
Nov 3 2025
Hi @evgmol, nice one, thanks.
Oct 31 2025
Oct 30 2025
@lingfish hi!
Sorry for taking so long
Oct 28 2025
Oct 26 2025
Oct 21 2025
Hi, yeah oops, should have mentioned that!
Oct 20 2025
https://github.com/vyos/vyos.vyos/pull/437 — merged now. Can we close the task?
Oct 19 2025
Oct 18 2025
@lingfish Hi!
Which module are you using?
Oct 15 2025
Sep 29 2025
Sep 23 2025
Sep 22 2025
https://github.com/vyos/vyos.vyos/pull/430 is merged.
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 13 2025
$ ansible-galaxy collection list | grep -E "vyos.vyos|ansible.netcommon" ansible.netcommon 6.1.3 vyos.vyos 6.0.0
- name: BackUp Cuideo router's config hosts: CUIDEO_ROUTERS
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 8 2025
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
Yes, i want to delete and recreate it. But it needs to be in the same step, not in 2 separate ones.
With 2 Seperate ones, you delete the group, commit it, then recreate and commit it again.
In a single step, you delete the group, recreate it and then commit. That way the group itself will always exist.
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)
@evgmol did you want to tag me?
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
Looking at vyos.vyos.vyos_firewall_global, i have a few issues with it:
Using this playbook i can reproduce the same bug with the vyos_user command (2048 does not change on the second run, 4096 does):
@nicolasberens You may want to give the vyos_user command a try as it should deal with this appropriately.
I think this may be related to the other T7621, since they would both involve the diff engine for the cliconf plugin.
Hi,
thanks for the reply.
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
Jun 10 2025
Doesn't this feature exist in 1.5?
Jun 2 2025
May 28 2025
In T7474#225365, @badger42 wrote:I am not a developer, so not sure how to implement this. This is a request for new functionality.
I am not a developer, so not sure how to implement this. This is a request for new functionality.
There is a repo for VRRP https://github.com/acassen/keepalived that we use
So it it necessary to understand how it looks like natively for keeplived before it can be implemented
@Viacheslav Unfortunately, I don't know how to implement this.
May 24 2025
May 22 2025
Closed out by https://github.com/vyos/vyos.vyos/pull/392
Closed with changes ini PR#397
May 21 2025
Send a real example from keepalived if you know how to implement this
You should use policy route
it is not cisco
Add example for rsyslog
It is not cisco
