Open lingfish opened 1 year ago
When doing this:
as_number: 64512 address_family: - afi: "ipv4" redistribute: - protocol: "static"
There is no change. I have to add metric: 1 for it to take effect.
metric: 1
as_number: 64512 address_family: - afi: "ipv4" networks: - prefix: 152.110.3.0/24
There is no change. To trigger a change I have to specify something like backdoor: true, when the base config is perfectly valid.
backdoor: true
It's like args aren't known to be optional.
The same thing happens with gathered, if stock config is there, it isn't recognised at all.
gathered
vyos_bgp_address_family
config file = /home/user/ansible-env/ansible.cfg configured module search path = ['/home/user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/user/.virtualenvs/ansible-new/lib/python3.9/site-packages/ansible ansible collection location = /home/user/.ansible/collections:/usr/share/ansible/collections executable location = /home/user/.virtualenvs/ansible-new/bin/ansible python version = 3.9.6 (default, May 27 2022, 16:26:22) [GCC 6.3.0 20170516] jinja version = 3.0.3 libyaml = True
# /home/user/.virtualenvs/ansible-new/lib/python3.9/site-packages/ansible_collections Collection Version ---------- ------- vyos.vyos 2.6.0 # /home/user/.ansible/collections/ansible_collections Collection Version ---------- ------- vyos.vyos 4.0.0
DEFAULT_GATHERING(/home/user/ansible-env/ansible.cfg) = smart DEFAULT_HOST_LIST(/home/user/ansible-env/ansible.cfg) = ['/home/user/ansible-env/inventory'] DEFAULT_STDOUT_CALLBACK(/home/user/ansible-env/ansible.cfg) = yaml
Controller: Debian stretch VyOS: 1.3
As above.
I expect changes to occur with standard defaults.
As above, no changes.
I have the same issue with
ansible [core 2.14.10] python version = 3.11.5 (main, Aug 28 2023, 00:00:00) [GCC 13.2.1 20230728 (Red Hat 13.2.1-1)] (/usr/bin/python3)
and vyos.vyos collection 4.1.0
vyos.vyos collection 4.1.0
SUMMARY
When doing this:
There is no change. I have to add
metric: 1
for it to take effect.When doing this:
There is no change. To trigger a change I have to specify something like
backdoor: true
, when the base config is perfectly valid.It's like args aren't known to be optional.
The same thing happens with
gathered
, if stock config is there, it isn't recognised at all.ISSUE TYPE
COMPONENT NAME
vyos_bgp_address_family
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Controller: Debian stretch VyOS: 1.3
STEPS TO REPRODUCE
As above.
EXPECTED RESULTS
I expect changes to occur with standard defaults.
ACTUAL RESULTS
As above, no changes.