LLDP error in gather_subset in vyos.vyos.vyos_facts
VyOS version:
vyos@vyos:~$ show ver Version: VyOS 1.4.0 Release train: sagitta Release flavor: generic Built by: Sentrium S.L. Built on: Tue 04 Jun 2024 09:23 UTC Build UUID: 5e6ae0c4-4d17-4b69-9247-b4ba44a3e3c2 Build commit ID: 35dd8ae6522c78-dirty Architecture: x86_64 Boot via: installed image System type: KVM guest Hardware vendor: QEMU Hardware model: Standard PC (i440FX + PIIX, 1996) Hardware S/N: Hardware UUID: 924ad2e8-1a3b-4559-a314-fbe1a0814b2d Copyright: VyOS maintainers and contributors
Ansible playbook:
---
- name: Vyos_set_config
hosts: vyos
gather_facts: false
tasks:
- name: Collect facts
vyos.vyos.vyos_facts:
gather_subset: all
...Output:
netadmin@debian12:~/testansible$ ansible-playbook playbook_vyos.yml
[WARNING]: Collection vyos.vyos does not support Ansible version 2.14.16
PLAY [Vyos_set_config] ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************
TASK [Collect facts] ******************************************************************************************************************************************************************************************************************************************************************************************************************************************************
[WARNING]: Collection ansible.netcommon does not support Ansible version 2.14.16
[WARNING]: Collection ansible.utils does not support Ansible version 2.14.16
fatal: [192.168.139.133]: FAILED! => {"changed": false, "msg": "show lldp neighbors detail\r\n\r\n Invalid command: show lldp neighbors [detail]\r\n\r\nvyos@vyos:~$ "}
PLAY RECAP ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
192.168.139.133 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0There is no command <show lldp neighbors detail> in VyOS 1.4.0
There is only:
vyos@vyos:~$ show lldp neighbors Possible completions: <Enter> Execute the current command interface Show LLDP for specified interface